[]
Represents base formatting for a table.
public class TableFormatBase : FormattingBag
Gets or sets how the table is aligned in the document.
public TableAlignment Alignment { get; set; }
Gets or sets a value indicating whether automatically resizing cells in a table to fit their contents is allowed.
public bool AllowAutoFit { get; set; }
Gets the base (this class) key for formatting properties.
protected override string BaseKey { get; }
Gets the table borders formatting.
public TableBorderCollection Borders { get; }
Gets or sets the indentation (in points) that shall be added before the leading edge of the current table.
public float Indent { get; set; }
Gets the default paddings for all cells in the current table.
public CellPadding Padding { get; }
Gets the table preferred width.
public PreferredWidth PreferredWidth { get; }
Gets the shading that shall be applied to the extents of the current table. Similarly to paragraph shading, this shading shall be applied to the contents of the tab up to the table borders, regardless of the presence of text - unlike cell shading, table shading shall include any cell padding. This property shall be superseded by any cell-level shading.
public Shading Shading { get; }
Gets or sets the default amount of space (in points) between the cells.
public float Spacing { get; set; }
Gets or sets the bit flags that specify how a table style is applied to this table.
public TableStyleOptions StyleOptions { get; set; }
Resets to default table formatting.
public override void ClearFormatting()
Sets how the table is aligned in the document.
protected virtual void SetAlignment(TableAlignment value)
value
TableAlignmentThe TableAlignment value.