Table Class
- Inheritance
ContainerBlockTable
Constructors
| Name | Description |
|---|---|
| Table() | Initializes a new instance of the Table class. |
| Table(BlockParser?) | Initializes a new instance of the Table class. |
Table overloads
Table()
Table.csInitializes a new instance of the Table class.
public Table()Table(BlockParser?)
Table.csInitializes a new instance of the Table class.
public Table(BlockParser? parser)Parameters
parserBlockParser?- The parser used to create this block.
Properties
| Name | Description |
|---|---|
| ColumnDefinitions | Gets or sets the column alignments. May be null. |
ColumnDefinitions
Table.csGets or sets the column alignments. May be null.
public List<TableColumnDefinition> ColumnDefinitions { get; }Property value
Methods
| Name | Description |
|---|---|
| IsValid() | Checks if the table structure is valid. |
| NormalizeUsingHeaderRow() | Normalizes the number of columns of this table by taking the amount of columns defined in the header and appending empty cells or removing extra cells as needed. |
| NormalizeUsingMaxWidth() | Normalizes the number of columns of this table by taking the maximum columns and appending empty cells. |
IsValid()
Table.csNormalizeUsingHeaderRow()
Table.csNormalizes the number of columns of this table by taking the amount of columns defined in the header and appending empty cells or removing extra cells as needed.
public void NormalizeUsingHeaderRow()Remarks
Short rows are not completed when more than 524,288 empty cells would be needed.
NormalizeUsingMaxWidth()
Table.csNormalizes the number of columns of this table by taking the maximum columns and appending empty cells.
public void NormalizeUsingMaxWidth()Remarks
Rows are left unchanged when more than 524,288 empty cells would be needed.