Skip to main content

Table Members

A table in a sub-document.

Properties

Name Description
AutoFit Returns whether the table automatically adjusts its width to fit content.
BackgroundColor Returns the table’s background color.
Borders Returns the table’s border settings.
CellMargins Returns margin settings of all cells in the table.
ContentHorizontalAlignment Returns the horizontal alignment of content in table cells.
ContentVerticalAlignment Returns the vertical alignment of content in table cells.
Index Returns the table’s index in the table collection.
Interval Gets the text buffer interval that contains the element. Inherited from DocumentElementBase.
ParentCell Returns the cell that contains the current table.
Rows Returns the list of table rows.
StyleName Returns the table style name.
TableStyleOptions Returns style options applied to the table.
Width Returns the table’s width settings.

Methods

Name Description
ChangePropertiesAsync(Action<TableProperties>, CancellationToken) Sets table properties.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MergeCellsAsync(TableCellPosition, TableCellPosition, CancellationToken) Merges all cells in the specified range.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also