Click or drag to resize

PdfTable Properties

The PdfTable type exposes the following members.

Properties
  NameDescription
Public propertyActualHeight
returns the height of the filled table.
Public propertyCode exampleBorderColor
Gets/sets the color to draw the border grid lines. The default border color is black.
Public propertyCode exampleBorderStyle
The border style for the table. See PdfTableBorderStyle The default border style is None. Border options are: Grid,Vertical,Horizontal,Outline, None.
Public propertyBorderWidth
Gets/sets the width the border should be drawn. This applies to all the lines that are drawn for the table The default border width is 1.
Public propertyBounds
Gets/sets the bounds for the table
Public propertyColumns
Returns the columns already set for the PdfTable. See PdfTableColumn
Public propertyFilledRowsCount
Gets a count of rows placed to the table after the Fill() method using. This value takes into account header row if it exists.
Public propertyFontName
Gets/sets the name of the font to be used
Public propertyFontSize
Gets/sets the size of the font.
Public propertyHasMoreRows
Returns true if there are more rows to draw for the table. Check this after the Fill() method to see if all the rows were written to the table.
Public propertyHeaderFontName
Gets or sets the name of the header font. If set to null, when Fill(PdfFontManager) is called, PdfTable will attempt to find a font named FontName + " Bold" in the system (creating a font resource if needed), otherwise it will use a font named by HeaderFontName.
Public propertyLineHeight
Gets/sets the height of each row in the table. If text has multiple lines the row height will be multiplied by the number of lines. The default row height is calculated based on the font type and font size specified.
Public propertyName
Gets/sets the name of the IPdfRenderable object.
Public propertyShowColumnHeadingRow
Get/sets whether to draw the a heading row for the table. Default is true.
Public propertyTextPaddingLeft
The padding from the left margin to the start of the text. This will apply to the entire table. If there is a column TextPaddingLeft defined it will override this value.
Public propertyTextPaddingRight
The padding from the end of the text to the right margin. This will apply to the entire table If there is a column TextPaddingRight defined it will override this value.
Top
See Also