Cell
Contents
[
Hide
]Cell class
Represents a cell of a table.
public class Cell : ICell
Properties
Name | Description |
---|---|
AnchorCenter { get; set; } | Determines whether or not text box centered inside a cell. Read/write Boolean. |
CellFormat { get; } | Returns the CellFormat object that contains formatting properties for this cell. Read-only ICellFormat . |
ColSpan { get; } | 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 Int32. |
FirstColumn { get; } | Gets first column of cell. Read-only IColumn . |
FirstColumnIndex { get; } | Returns an index of first column, covered by the cell. Read-only Int32. |
FirstRow { get; } | Gets first row of cell. Read-only IRow . |
FirstRowIndex { get; } | Returns an index of first row, covered by the cell. Read-only Int32. |
Height { get; } | Returns the height of the cell. Read-only Double. |
IsMergedCell { get; } | Returns true if the cell is merged with any adjusted cell, false otherwise. Read-only Boolean. |
MarginBottom { get; set; } | Returns or sets the bottom margin in a TextFrame. Read/write Double. |
MarginLeft { get; set; } | Returns or sets the left margin in a TextFrame. Read/write Double. |
MarginRight { get; set; } | Returns or sets the right margin in a TextFrame. Read/write Double. |
MarginTop { get; set; } | Returns or sets the top margin in a TextFrame. Read/write Double. |
MinimalHeight { get; } | Returns the minimum height of a cell. This is a sum of minimal heights of all rows cowered by the cell. Read-only Double. |
OffsetX { get; } | Returns a distance from left side of a table to left side of a cell. Read-only Double. |
OffsetY { get; } | Returns a distance from top side of a table to top side of a cell. Read-only Double. |
Presentation { get; } | Returns the parent presentation of a cell. Read-only IPresentation . |
RowSpan { get; } | 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 Int32. |
Slide { get; } | Returns the parent slide of a cell. Read-only IBaseSlide . |
Table { get; } | Returns the parent Table object for a cell. Read-only ITable . |
TextAnchorType { get; set; } | Returns or sets the text anchor type. Read/write TextAnchorType . |
TextFrame { get; } | Returns the text frame of a cell. Read-only ITextFrame . |
TextVerticalType { get; set; } | Returns or sets the type of vertical text. Read/write TextVerticalType . |
Width { get; } | Returns the width of the cell. Read-only Double. |
Methods
Name | Description |
---|---|
SplitByColSpan(int) | Splits the cell to two cells by index of column. |
SplitByHeight(double) | Splits the cell by height. |
SplitByRowSpan(int) | Splits the cell to two cells by index of row. |
SplitByWidth(double) | Splits the cell by width. |
See Also
- interface ICell
- namespace Aspose.Slides
- assembly Aspose.Slides