Row

Overview

Row is a class in Aspose.Words FOSS for Python. Inherits from: BaseModel, NodeCastMixin.

Row.as_cell() returns the Row instance cast as a Cell when the underlying node is a table cell, enabling cell‑specific operations.

This class provides 8 methods for working with Row objects in Python programs. Available methods include: as_body, as_cell, as_paragraph, as_row, as_run, as_section, as_shape, as_table. All public members are accessible to any Python application after installing the Aspose.Words FOSS for Python package. Properties: cells, preferred_width, row_format, type.

Properties

NameTypeAccessDescription
typestrReadGets the type.
row_formatRowFormatReadGets the row format.
cellslist[Cell]ReadGets the cells.
preferred_widthPreferredWidthReadGets the preferred width.

Methods

SignatureDescription
as_body()Calls as_body on this Row instance.
as_cell()Returns the Row instance cast as a Cell when the underlying node is a table cell, enabling cell‑specific operations
as_paragraph()Calls as_paragraph on this Row instance.
as_row()Calls as_row on this Row instance.
as_run()Calls as_run on this Row instance.
as_section()Calls as_section on this Row instance.
as_shape()Calls as_shape on this Row instance.
as_table()Calls as_table on this Row instance.

See Also

 English