Cell

Overview

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

One cell of a table: what it says, and how it says it.

This class declares 1 method for Cell objects in Python programs. Available methods include: __post_init__. Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: alignment, background_color, border_color, border_width, column_span, font_name, and 6 more.

Properties

NameTypeAccessDescription
textstrRead/WriteGets or sets the text.
column_spanintRead/WriteGets or sets the column span.
alignmentstr | NoneRead/WriteGets or sets the alignment.
vertical_alignmentstr | NoneRead/WriteGets or sets the vertical alignment.
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.
paddingfloat | NoneRead/WriteGets or sets the padding.
border_widthfloat | NoneRead/WriteGets or sets the border width.
border_colorAnyRead/WriteGets or sets the border color.
is_headerbool | NoneRead/WriteGets or sets the is header.

Methods

SignatureDescription
__post_init__()Calls post_init on this Cell instance.

See Also