Cell
Overview
Cell is a class in Aspose.Slides FOSS for Python.
Inherits from: ICell, ISlideComponent, IPresentationComponent.
Represents a cell of a table.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
offset_x | float | Read | Returns a distance from left side of a table to left side of a cell. |
offset_y | float | Read | Returns a distance from top side of a table to top side of a cell. |
first_row_index | int | Read | Returns an index of first row, covered by the cell. |
first_column_index | int | Read | Returns an index of first column, covered by the cell. |
width | float | Read | Returns the width of the cell. |
height | float | Read | Returns the height of the cell. |
minimal_height | float | Read | Returns the minimum height of a cell. |
margin_left | float | Read | Returns or sets the left margin in a TextFrame. |
margin_right | float | Read | Returns or sets the right margin in a TextFrame. |
margin_top | float | Read | Returns or sets the top margin in a TextFrame. |
margin_bottom | float | Read | Returns or sets the bottom margin in a TextFrame. |
text_vertical_type | TextVerticalType | Read | Returns or sets the type of vertical text. |
text_anchor_type | TextAnchorType | Read | Returns or sets the text anchor type. |
anchor_center | bool | Read | Determines whether or not text box centered inside a cell. |
first_row | IRow | Read | Gets first row of cell. |
first_column | IColumn | Read | Gets first column of cell. |
col_span | int | Read | Returns the number of grid columns in the parent table’s table grid which shall be spanned by the current cell. |
row_span | int | Read | Returns the number of rows that a merged cell spans. |
text_frame | ITextFrame | Read | Returns the text frame of a cell. |
table | ITable | Read | Returns the parent Table object for a cell. |
is_merged_cell | bool | Read | Returns true if the cell is merged with any adjusted cell, false otherwise. |
cell_format | ICellFormat | Read | Returns the CellFormat object that contains formatting properties for this cell. |
slide | IBaseSlide | Read | Returns the parent slide of a cell. |
presentation | IPresentation | Read | Returns the parent presentation of a cell. |
as_i_slide_component | ISlideComponent | Read | Returns the cell as an ISlideComponent interface |
as_i_presentation_component | IPresentationComponent | Read | Returns the cell as an IPresentationComponent interface |