[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.TableStyleBase

TableStyleBase Class

Represents base properties that can be applied to a table.

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

Properties

Name Description
Alignment

Gets or sets the alignment of an inline table in the document.

AllowBreakAcrossPages

Gets or sets a value indicating whether the content within the cells can be rendered on multiple pages.

HeadingFormat

Gets or sets a value indicating whether a table row shall be repeated at the top of each new page on which part of this table is displayed. This gives this table row the behavior of a 'header' row on each of these pages.

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.

Shading

Gets the shading that shall be applied to the extents of a 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.

VerticalAlignment

Gets or sets the vertical alignment of text in cells.

WordWrap

Gets or sets whether to wrap text in the cells.

Methods

Name Description
ClearFormatting()

Resets to default table style formatting.

CopyFormatting(TableStyleBase)

Copies formmating from this instance into another.