[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.TableFormatBase

TableFormatBase Class

Represents base formatting for a table.

Inheritance
TableFormatBase
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class TableFormatBase : FormattingBag
Public Class TableFormatBase
    Inherits FormattingBag

Properties

Name Description
Alignment

Gets or sets how the table is aligned in the document.

AllowAutoFit

Gets or sets a value indicating whether automatically resizing cells in a table to fit their contents is allowed.

BaseKey

Gets the base (this class) key for formatting properties.

Borders

Gets the table borders formatting.

Indent

Gets or sets the indentation (in points) that shall be added before the leading edge of the current table.

Padding

Gets the default paddings for all cells in the current table.

PreferredWidth

Gets the table preferred width.

Shading

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.

Spacing

Gets or sets the default amount of space (in points) between the cells.

StyleOptions

Gets or sets the bit flags that specify how a table style is applied to this table.

Methods

Name Description
ClearFormatting()

Resets to default table formatting.

SetAlignment(TableAlignment)

Sets how the table is aligned in the document.