Row

Overview

Row is a class in Aspose.PDF FOSS for Python.

One row of a table: its cells, and what they have in common.

This class declares 2 methods for Row objects in Python programs. Available methods include: __post_init__, add_cell. Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: background_color, cells, column_count, font_name, font_size, header, and 2 more.

Properties

NameTypeAccessDescription
column_countintReadHow many columns this row covers, spans counted.
cellslist[Cell]Read/WriteGets or sets the cells.
heightfloat | NoneRead/WriteGets or sets the height.
background_colorAnyRead/WriteGets or sets the background color.
text_colorAnyRead/WriteGets or sets the text color.
font_sizefloat | NoneRead/WriteGets or sets the font size.
font_namestr | NoneRead/WriteGets or sets the font name.
headerboolRead/WriteGets or sets the header.

Methods

SignatureDescription
__post_init__()Calls post_init on this Row instance.
add_cell(text: Any) → CellAppend a cell and return it.

See Also