TableStyle TableStyle TableStyle Interface

Definition

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

public interface class TableStyle
[System.Runtime.InteropServices.Guid("B7564E97-0519-4C68-B400-3803E7C63242")]
public interface TableStyle
Public Interface TableStyle
Attributes

Remarks

Use the Table property of the Style object to return a TableStyle object. Use the Borders property to apply borders to an entire table. Use the Condition(WdConditionCode) method to apply borders or shading only to specified sections of a table.

Properties

Alignment Alignment Alignment

Returns or sets a constant that represents the alignment for the specified rows.

AllowBreakAcrossPage AllowBreakAcrossPage AllowBreakAcrossPage

Sets or returns an Integer indicating whether lines in the rows of tables formatted with a specified style break across pages.

AllowPageBreaks AllowPageBreaks AllowPageBreaks

Allows Microsoft Word to break the specified table across pages.

Application Application Application

Returns a Application object that represents the Microsoft Word application.

Borders Borders Borders

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

BottomPadding BottomPadding 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.

ColumnStripe ColumnStripe ColumnStripe

Returns or sets an Integer that represents the number of columns in the banding when a style specifies odd- or even-column banding.

Creator Creator Creator

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

LeftIndent LeftIndent LeftIndent

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

LeftPadding LeftPadding 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 style.

Parent Parent Parent

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

RightPadding RightPadding 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 style.

RowStripe RowStripe RowStripe

Returns or sets an Integer that represents the number of rows to include in the banding when a style specifies odd- or even-row banding.

Shading Shading Shading

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

Spacing Spacing Spacing

Returns or sets the spacing (in points) between the cells in a table style.

TableDirection TableDirection TableDirection

Returns or sets the direction in which Microsoft Word orders cells in the specified table or row.

TopPadding TopPadding TopPadding

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

Methods

Condition(WdConditionCode) Condition(WdConditionCode) Condition(WdConditionCode)

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

Applies to