Cell class
Contents
[
Hide
]Cell class
Represents a cell of a table.
The Cell type exposes the following members:
Properties
Property | Description |
---|---|
offset_x | Returns a distance from left side of a table to left side of a cell. Read-only float. |
offset_y | Returns a distance from top side of a table to top side of a cell. Read-only float. |
first_row_index | Returns an index of first row, covered by the cell. Read-only int. |
first_column_index | Returns an index of first column, covered by the cell. Read-only int. |
width | Returns the width of the cell. Read-only float. |
height | Returns the height of the cell. Read-only float. |
minimal_height | Returns the minimum height of a cell. This is a sum of minimal heights of all rows cowered by the cell. Read-only float. |
margin_left | Returns or sets the left margin in a TextFrame. Read/write float. |
margin_right | Returns or sets the right margin in a TextFrame. Read/write float. |
margin_top | Returns or sets the top margin in a TextFrame. Read/write float. |
margin_bottom | Returns or sets the bottom margin in a TextFrame. Read/write float. |
text_vertical_type | Returns or sets the type of vertical text. Read/write TextVerticalType . |
text_anchor_type | Returns or sets the text anchor type. Read/write TextAnchorType . |
anchor_center | Determines whether or not text box centered inside a cell. Read/write bool. |
first_row | Gets first row of cell. Read-only IRow . |
first_column | Gets first column of cell. Read-only IColumn . |
col_span | Returns the number of grid columns in the parent table’s table grid which shall be spanned by the current cell. This property allows cells to have the appearance of being merged, as they span vertical boundaries of other cells in the table. Read-only int. |
row_span | Returns the number of rows that a merged cell spans. This is used in combination with the vMerge attribute on other cells in order to specify the beginning cell of a horizontal merge. Read-only int. |
text_frame | Returns the text frame of a cell. Read-only ITextFrame . |
table | Returns the parent Table object for a cell. Read-only ITable . |
is_merged_cell | Returns true if the cell is merged with any adjusted cell, false otherwise. Read-only bool. |
cell_format | Returns the CellFormat object that contains formatting properties for this cell. Read-only ICellFormat . |
slide | Returns the parent slide of a cell. Read-only IBaseSlide . |
presentation | Returns the parent presentation of a cell. Read-only IPresentation . |
Methods
Method | Description |
---|---|
split_by_col_span | Splits the cell to two cells by index of column. |
split_by_row_span | Splits the cell to two cells by index of row. |
split_by_height | Splits the cell by height. |
split_by_width | Splits the cell by width. |
See Also
- module
aspose.slides
- library
Aspose.Slides