RowFormat module

class RowFormat.RowFormat

Bases: WordAttrCollection

Represents the formatting of a row in a table.

property BackColor: Color

Gets or sets the background color of the row.

property Bidi: bool

Gets or sets a value indicating whether the table is right to left.

property Borders: Borders

Gets the borders of the row.

property CellSpacing: float

Gets or sets the spacing between cells in the row. The value must be between 0 pt and 264.5 pt. The value will not be applied if it is out of range. The property will be cleared if the value is less than 0.

ClearFormatting()
property HorizontalAlignment: RowAlignment

Gets or sets the horizontal alignment of the row.

property IsAutoResized: bool

Gets or sets a value indicating whether the table is auto resized.

property IsBreakAcrossPages: bool

Gets or sets a value indicating whether there is a break across pages.

property LayoutType: LayoutType

Gets or sets the layout type of the row.

property LeftIndent: float

Gets or sets the left indent of the row.

property Paddings: Paddings

Gets the paddings of the row.

property Positioning: TablePositioning

Gets the positioning of the row.

property WrapTextAround: bool

Gets or sets a value indicating whether to wrap text around the row.