Cell
Overview
Cell is a class in Aspose.Slides FOSS for .NET.
Inherits from: ISlideComponent, ICell.
Represents a single cell within a table in a PowerPoint presentation.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
OffsetX | float | Read | Specifies the horizontal offset of the cell within its column |
OffsetY | float | Read | Specifies the vertical offset of the cell within its row |
FirstRowIndex | int | Read | Returns the zero‑based index of the cell’s first row |
FirstColumnIndex | int | Read | Returns the zero‑based index of the cell’s first column |
Width | float | Read | Gets the total width of the cell including margins |
Height | float | Read | |
MinimalHeight | float | Read | Defines the minimum height the cell can shrink to |
MarginLeft | float | Read/Write | Returns the left margin space inside the cell |
MarginRight | float | Read/Write | Returns the right margin space inside the cell |
MarginTop | float | Read/Write | Returns the top margin space inside the cell |
MarginBottom | float | Read/Write | Returns the bottom margin space inside the cell |
TextVerticalType | TextVerticalType | Read/Write | Indicates the vertical orientation of the cell’s text |
TextAnchorType | TextAnchorType | Read/Write | Defines how text is anchored vertically within the cell |
AnchorCenter | bool | Read/Write | Determines whether the text anchor point is centered |
FirstRow | IRow | Read | Provides the IRow object representing the cell’s first row |
FirstColumn | IColumn | Read | Provides the IColumn object representing the cell’s first column |
ColSpan | int | Read | Returns the number of columns spanned by the cell |
RowSpan | int | Read | Returns the number of rows spanned by the cell |
TextFrame | ITextFrame? | Read | Gets the ITextFrame containing the cell’s text, if any |
Table | ITable | Read | Returns the ITable that owns this cell |
IsMergedCell | bool | Read | Indicates whether the cell is part of a merged region |
CellFormat | ICellFormat | Read | Provides access to formatting properties of the cell |
Slide | IBaseSlide? | Read | Returns the slide that contains the cell, if available |
Presentation | IPresentation? | Read | |
AsIPresentationComponent | IPresentationComponent | Read | Casts the cell to an IPresentationComponent |
AsISlideComponent | ISlideComponent | Read | Casts the cell to an ISlideComponent |