ICell

Overview

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

Represents a cell in a table.

Properties: anchor_center, as_i_presentation_component, as_i_slide_component, cell_format, col_span, first_column, and 20 more.

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_leftfloatRead/WriteReturns or sets the left margin in a TextFrame.
margin_rightfloatRead/WriteReturns or sets the right margin in a TextFrame.
margin_topfloatRead/WriteReturns or sets the top margin in a TextFrame.
margin_bottomfloatRead/WriteReturns or sets the bottom margin in a TextFrame.
text_vertical_typeTextVerticalTypeRead/WriteReturns or sets the type of vertical text.
text_anchor_typeTextAnchorTypeRead/WriteReturns or sets the text anchor type.
anchor_centerboolRead/WriteDetermines whether or not text box centered inside a cell.
first_columnIColumnReadGets first column of cell.
first_rowIRowReadGets first row 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.
as_i_slide_componentISlideComponentReadAllows to get base ISlideComponent interface.
slideIBaseSlideReadReturns the base slide.
as_i_presentation_componentIPresentationComponentReadAllows to get base IPresentationComponent interface.
presentationIPresentationReadReturns the presentation.

See Also

 English