TableRow module

class TableRow.TableRow

Bases: DocumentBase, ICompositeObject

Represents a table row in a document.

AddCell

Adds a cell to the table row. :returns: The added cell.

property Cells: CellCollection

Gets or sets the cell collection of the table row. :returns: The cell collection of the table row.

property ChildObjects: DocumentObjectCollection

Gets the child objects of the table row. :returns: The child objects of the table row.

Clone() TableRow

Creates a deep copy of the table row. :returns: A new instance of the TableRow class that is a deep copy of this instance.

property DocumentObjectType: DocumentObjectType

Gets the type of the document object. :returns: The type of the document object.

GetRowIndex() int

Gets the index of the table row in the owner table. :returns: The index of the table row in the owner table.

property Height: float

Gets or sets the height of the table row. :returns: The height of the table row.

property HeightType: TableRowHeightType

Gets or sets the height type of the table row. :returns: The height type of the table row.

property IsHeader: bool

Gets or sets a value indicating whether the table row is a header. :returns: True if the table row is a header; otherwise, False.

property RowFormat: RowFormat

Gets the row format of the table row. :returns: The row format of the table row.