Skip to main content

Table Members

Represents a single table.

Properties

Name Description
Borders Provides access to the TableBorders interface exposing borders assigned to a table.
BottomPadding Gets or sets the space between the bottom border of a table cell and cell contents for all cells in a table.
FirstRow Gets the first (uppermost) row of the table.
HorizontalAlignment Gets or sets how the table’s horizontal alignment.
Indent Gets or sets the amount of indentation for a table.
IsWordCompatible Indicates whether a document containing this table can be successfully opened in Microsoft Word.
Item[Int32, Int32] Gets a table cell by its row and column index.
LastRow Gets the last row in a table.
LeftPadding Gets or sets the space between the left border of a table cell and cell contents for all cells in a table.
MarginBottom Gets or sets the distance between the text and the bottom border of the table.
MarginLeft Gets or sets the distance between the text and the left border of the table.
MarginRight Gets or sets the distance between the text and the right border of the table.
MarginTop Gets or sets the distance between the text and the top border of the table.
NestingLevel Gets the nesting level of the current table.
OffsetXRelative Gets or sets the horizontal offset relative to the Table.RelativeHorizontalPosition.
OffsetYRelative Gets or sets the vertical offset relative to the Table.RelativeVerticalPosition.
ParentCell Gets the cell containing the nested table.
PreferredWidth Gets or sets the numerical value of the preferred width.
PreferredWidthType Gets or sets how the width of a table is determined if Preferred Width is specified.
Range Gets a document range occupied by a table.
RelativeHorizontalPosition Gets or sets to what the table’s horizontal position is relative.
RelativeVerticalPosition Gets or sets to what the table’s vertical position is relative.
RightPadding Gets or sets the space between the right border of a table cell and cell contents for all cells in a table.
RightToLeft Specifies whether to change the table layout’s direction to right-to-left.
Rows Provides access to a collection of table rows.
Style Gets or sets the style applied to the table.
TableAlignment Gets or sets the alignment of a table as a whole within the document.
TableBackgroundColor Gets or sets the color of an empty space between cells.
TableCellSpacing Gets or sets the amount of space in between the cells of a table.
TableLayout Gets or sets the algorithm which shall be used to lay out the contents of the current table within the document.
TableLook Gets or sets the table style options that modify the table appearance.
TextWrappingType Specifies the text wrapping type.
TopPadding Gets or sets the space between the top border of a table cell and cell contents for all cells in a table.
VerticalAlignment Gets or sets the table’s vertical alignment.

Methods

Name Description
BeginUpdate() Locks the Table object. Prevents visual updates until the EndUpdate method calls.
Cell(Int32, Int32) Provides access to a cell in a table.
EndUpdate() Unlocks the Table object after you call BeginUpdate. It also causes an immediate visual update.
ForEachCell(TableCellProcessorDelegate) Performs the specified action on each cell in the table.
ForEachRow(TableRowProcessorDelegate) Enables you to specify a delegate which will be executed for each row of a table.
MakeWordCompatible() Merges all columns with indexes greater than 63 into a single column.
MergeCells(TableCell, TableCell) Merges the cells in the specified range into a single cell.
Reset() Resets table properties to values specified by the underlying style or to the default style values.
Reset(TablePropertiesMask) Resets the table properties specified by the mask to the properties of the underlying table style or to default properties.
SetPreferredWidth(Single, WidthType) Specifies the preferred width for the table in specified units.
Validate() Checks whether the current table instance is valid and usable.
See Also