PdfTable Class

PDF File Writer

PdfTable Class

PDF data table drawing class
Inheritance Hierarchy
SystemObject  PdfFileWriterPdfTable

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public class PdfTable

The PdfTable type exposes the following members.

Constructors
  NameDescription
Public methodPdfTable
PdfTable constructor.
Top
Properties
  NameDescription
Public propertyActive
Gets the table is active flag.
Public propertyBorders
Borders control
Public propertyCell
Gets array of cell items.
Public propertyCellStyle
Creates a cell style object as a copy of the default cell style.
Public propertyColumnPosition
Gets array of column positions.
Public propertyColumns
Gets the number of columns in the table.
Public propertyColumnWidth
Gets array of column widths.
Public propertyCommitGCCollectFreq
Call GC collect frequency
Public propertyCommitToPdfFile
Commit page contents to PDF file
Public propertyContents
Gets the current PDF contents object.
Public propertyDefaultCellStyle
Gets the default cell style.
Public propertyDefaultHeaderStyle
Gets the default header style.
Public propertyDocument
Gets the PDF document that owns this table.
Public propertyHeader
Gets array of header items.
Public propertyHeaderHeight
Gets the current header height.
Public propertyHeaderOnEachPage
Gets or sets the flag controlling the drawing of the header row.
Public propertyHeaderStyle
Creates a header style object as a copy of the default header style.
Public propertyMinHeaderHeight
Gets or sets minimum row height.
Public propertyMinRowHeight
Gets or sets minimum row height.
Public propertyPage
Gets the current PDF page object.
Public propertyRowBottomPosition
Gets the current row bottom position.
Public propertyRowHeight
Gets the current row height.
Public propertyRowNumber
Gets the current row number.
Public propertyRowPosition
Gets array of row positions.
Public propertyRowTopPosition
Gets or sets current row top position.
Public propertyTableArea
Gets or sets table area rectangle.
Public propertyTablePageNumber
Table's page number starting with zero
Top
Methods
  NameDescription
Public methodClose
Close table.
Public methodDrawRow
Draw one row.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPdfTableInitialization
PdfTable initialization.
Public methodSetColumnWidth
Sets the number of columns, and column's widths.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventCustomDrawCellEvent
Sets the custom draw cell and header event handler.
Public eventTableEndEvent
Sets the table end event handler.
Public eventTableStartEvent
Sets the table start event handler.
Top
Remarks

The main class for drawing a data table within a PDF document.

For more information go to 2.12 Data Table Support

For example of drawing image see 3.13. Draw Book Order Form

See Also