Cell

Overview

Cell is a class in Aspose.Slides FOSS for Python. Inherits from: ICell, ISlideComponent, IPresentationComponent.

Represents a cell of a table.

Properties

NameTypeAccessDescription
offset_xfloatReadReturns a distance from left side of a table to left side of a cell.
offset_yfloatReadReturns a distance from top side of a table to top side of a cell.
first_row_indexintReadReturns an index of first row, covered by the cell.
first_column_indexintReadReturns an index of first column, covered by the cell.
widthfloatReadReturns the width of the cell.
heightfloatReadReturns the height of the cell.
minimal_heightfloatReadReturns the minimum height of a cell.
margin_leftfloatReadReturns or sets the left margin in a TextFrame.
margin_rightfloatReadReturns or sets the right margin in a TextFrame.
margin_topfloatReadReturns or sets the top margin in a TextFrame.
margin_bottomfloatReadReturns or sets the bottom margin in a TextFrame.
text_vertical_typeTextVerticalTypeReadReturns or sets the type of vertical text.
text_anchor_typeTextAnchorTypeReadReturns or sets the text anchor type.
anchor_centerboolReadDetermines whether or not text box centered inside a cell.
first_rowIRowReadGets first row of cell.
first_columnIColumnReadGets first column of cell.
col_spanintReadReturns the number of grid columns in the parent table’s table grid which shall be spanned by the current cell.
row_spanintReadReturns the number of rows that a merged cell spans.
text_frameITextFrameReadReturns the text frame of a cell.
tableITableReadReturns the parent Table object for a cell.
is_merged_cellboolReadReturns true if the cell is merged with any adjusted cell, false otherwise.
cell_formatICellFormatReadReturns the CellFormat object that contains formatting properties for this cell.
slideIBaseSlideReadReturns the parent slide of a cell.
presentationIPresentationReadReturns the parent presentation of a cell.
as_i_slide_componentISlideComponentReadReturns the cell as an ISlideComponent interface
as_i_presentation_componentIPresentationComponentReadReturns the cell as an IPresentationComponent interface

See Also