PdfTable Properties |
The PdfTable type exposes the following members.
Name | Description | |
---|---|---|
ActualHeight |
returns the height of the filled table.
| |
BorderColor |
Gets/sets the color to draw the border grid lines.
The default border color is black.
| |
BorderStyle |
The border style for the table. See PdfTableBorderStyle
The default border style is None.
Border options are: Grid,Vertical,Horizontal,Outline, None.
| |
BorderWidth |
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.
| |
Bounds |
Gets/sets the bounds for the table
| |
Columns |
Returns the columns already set for the PdfTable. See PdfTableColumn | |
FilledRowsCount |
Gets a count of rows placed to the table after the Fill() method using.
This value takes into account header row if it exists.
| |
FontName |
Gets/sets the name of the font to be used
| |
FontSize |
Gets/sets the size of the font.
| |
HasMoreRows |
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.
| |
HeaderFontName |
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.
| |
LineHeight |
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.
| |
Name |
Gets/sets the name of the IPdfRenderable object.
| |
ShowColumnHeadingRow |
Get/sets whether to draw the a heading row for the table. Default is true.
| |
TextPaddingLeft |
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.
| |
TextPaddingRight |
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.
|