[]
Represents a table element in a body content.
public class Table : FormattedContentObject, IBrowsable<Table>
Provides access to the table formatting properties.
public TableFormat Format { get; }
Gets the table cell at a specified row and column indices.
public Cell this[int rowIndex, int cellIndex] { get; }
rowIndex
intThe row index in the table.
cellIndex
intThe cell (column) index in the table row.
Gets the collection of tables nested within this table.
public Table[] NestedTabels { get; }
Gets the next table.
public Table Next { get; }
Gets the parent table of this table.
public Table ParentTable { get; }
Gets the previous table.
public Table Previous { get; }
Gets the collection of rows in this table.
public RowCollection Rows { get; }
Gets or sets a table style that shall be used to format the contents of this table.
public Style Style { get; set; }
Adds a ContentControl to the end of the table.
public ContentControl AddContentControl(ContentControlType type, bool fillContent = true)
type
ContentControlTypeThe new content control type.
fillContent
boolWhether to fill the new control content with default data.
The added ContentControl.
Splits the table at a specified location.
public Table Split(Row row, InsertLocation location)
row
RowThe row where to split the table.
This may be null, see location
for details.
location
InsertLocationThe target location (relative to row
) where to split the table.
If row
is not null, valid location values are
Before and After.
row
is null, valid location values are
Start and End.
The second part of the split table content.