Share via


TableStyle Members (Word)

Represents a single style that can be applied to a table.

Methods

Name

Description

Condition

Returns a ConditionalStyle object that represents special style formatting for a portion of a table.

Properties

Name

Description

Alignment

Returns or sets a WdRowAlignment constant that represents the alignment for the specified table style. Read/write.

AllowBreakAcrossPage

Sets or returns a Long indicating whether lines in the rows of tables formatted with a specified style break across pages. Read/write.

AllowPageBreaks

Allows Microsoft Word to break the specified table across pages. Read/write Boolean.

Application

Returns an Application object that represents the Microsoft Word application.

Borders

Returns a Borders collection that represents all the borders for the specified object.

BottomPadding

Returns or sets the amount of space (in points) to add below the contents of a single cell or all the cells in a table. Read/write Single.

ColumnStripe

Returns or sets a Long that represents the number of columns in the banding when a style specifies odd- or even-column banding. Read/write.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

LeftIndent

Returns or sets a Single that represents the left indent value (in points) for the rows in the specified table style. Read/write.

LeftPadding

Returns or sets the amount of space (in points) to add to the left of the contents of all the cells in a table. Read/write Single.

Parent

Returns an Object that represents the parent object of the specified TableStyle object.

RightPadding

Returns or sets the amount of space (in points) to add to the right of the contents of all the cells in a table. Read/write Single.

RowStripe

Returns or sets a Long that represents the number of rows to include in the banding when a style specifies odd- or even-row banding. Read/write.

Shading

Returns a Shading object that refers to the shading formatting for the specified table style.

Spacing

Returns or sets the spacing (in points) between the cells in a table style. Read/write Single.

TableDirection

Returns or sets the direction in which Microsoft Word orders cells in the specified table style. Read/write WdTableDirection.

TopPadding

Returns or sets the amount of space (in points) to add above the contents of all the cells in a table. Read/write Single.