Table
Overview
Table is a class in Aspose.Slides FOSS for .NET.
Inherits from: GraphicalObject, ITable.
Represents a table shape on a slide.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
GraphicalObjectLock | IGraphicalObjectLock? | Read | Provides access to lock settings for the table’s graphical object |
Rows | IRowCollection | Read | Gets the collection of rows contained in the table |
Columns | IColumnCollection | Read | |
TableFormat | ITableFormat | Read | Gets or sets formatting options for the entire table |
StylePreset | TableStylePreset | Read/Write | Gets or sets a predefined style applied to the table |
RightToLeft | bool | Read/Write | Indicates whether the table layout follows right‑to‑left reading order |
FirstRow | bool | Read/Write | Indicates whether the first row is treated as a header row |
FirstCol | bool | Read/Write | |
LastRow | bool | Read/Write | |
LastCol | bool | Read/Write | |
HorizontalBanding | bool | Read/Write | Indicates if alternating row colors are applied |
VerticalBanding | bool | Read/Write | Indicates if alternating column colors are applied |
AsIGraphicalObject | IGraphicalObject | Read | |
AsIBulkTextFormattable | IBulkTextFormattable | Read |
Methods
| Signature | Description |
|---|---|
MergeCells(cell1: ICell, cell2: ICell, allowSplitting: bool) | Merges the specified cells; allowSplitting permits splitting merged cells |
SetTextFormat(source: IBasePortionFormat) | Applies the given base portion format to all text in the table |
SetTextFormat(source: IParagraphFormat) | |
SetTextFormat(source: ITextFrameFormat) |