Represents a set of formatting properties which shall be applied to a Table.

Namespace: Docentric.Documents.ObjectModel.Tables
Assembly: Docentric.Documents.ObjectModel (in Docentric.Documents.ObjectModel.dll)
public class TableFormat : Format

The TableFormat type exposes the following members.

Name Description
Public constructor .ctor()
Name Description
Public member Alignment Gets or sets the alignment of the table with respect to the text margins in the section.
Public member AutomaticallyResizeToFitContents Gets or sets a value indicating whether the table shall automatically resize to fit the contents.
Public member Background Gets or sets the table background brush of this table.
Public member Borders Gets or sets the table borders.
Public member CellSpacing Gets or sets the table cell spacing.
Public member ColumnBandSize Gets or sets the number of columns which shall comprise each a table style column band for this table style. This element determines how many columns constitute each of the column bands for the current table, allowing column band formatting to be applied to groups of columns (rather than just single alternating columns) when the table is formatted.
Public member DefaultCellPadding Gets or sets the default table cell padding.
Public member LeftIndentation Gets or sets the indentation that should shift the table from the left margin right by the specified amount.
Public member OwnerDocument Gets the owner document. (Inherited from DocumentObject)
Public member OwnerElement Gets the element this format object belongs to (Paragraph or Run). (Inherited from Format)
Public member OwnerStyle Gets the style this format object belongs to. (Inherited from Format)
Public member PreferredWidth Gets or sets the table preferred width.
Public member RowBandSize Gets or sets the number of rows which shall comprise each a table style row band for this table style. This element determines how many rows constitute each of the row bands for the current table, allowing row band formatting to be applied to groups of rows (rather than just single alternating rows) when the table is formatted.
Name Description
Public method ClearFormatting Clears the values of all formatting properties. (Inherited from Format)
Public method Clone Clones this DocumentObject object including its DOM children. (Inherited from DocumentObject)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object)
Public method GetType Gets the Type of the current instance. (Inherited from Object)
Public method ToString Returns a String that represents the current Object. (Inherited from Object)