ITable
Overview
ITable is a interface in Aspose.Slides FOSS for .NET.
Inherits from: IGraphicalObject, IBulkTextFormattable.
Represents a table on a slide.
This interface provides 2 methods for working with ITable objects in .NET programs.
Available methods include: MergeCells, SetTextFormat.
All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package.
Properties: AlternativeText, AlternativeTextTitle, AsIBulkTextFormattable, AsIGraphicalObject, AsISlideComponent, Columns, and 33 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Rows | IRowCollection | Read | Gets the collection of rows in the table. |
Columns | IColumnCollection | Read | Gets the collection of columns in the table. |
TableFormat | ITableFormat | Read | Gets the formatting properties object for this table. |
StylePreset | TableStylePreset | Read/Write | Gets or sets the built-in table style preset. |
RightToLeft | bool | Read/Write | Gets or sets a value indicating whether the table has right-to-left reading order. |
FirstRow | bool | Read/Write | Gets or sets a value indicating whether the first row should be drawn with special formatting (header row styling). |
FirstCol | bool | Read/Write | Gets or sets a value indicating whether the first column should be drawn with special formatting. |
LastRow | bool | Read/Write | Gets or sets a value indicating whether the last row should be drawn with special formatting (total row styling). |
LastCol | bool | Read/Write | Gets or sets a value indicating whether the last column should be drawn with special formatting. |
HorizontalBanding | bool | Read/Write | Gets or sets a value indicating whether even rows should be drawn with alternating formatting (row striping). |
VerticalBanding | bool | Read/Write | Gets or sets a value indicating whether even columns should be drawn with alternating formatting (column striping). |
AsIGraphicalObject | IGraphicalObject | Read | Returns a reference to the base IGraphicalObject interface for this table. |
AsIBulkTextFormattable | IBulkTextFormattable | Read | Returns a reference to the base IBulkTextFormattable interface for this table. |
GraphicalObjectLock | IGraphicalObjectLock? | Read | Gets the graphical object lock settings. |
IsTextHolder | bool | Read | Gets a value indicating whether the shape acts as a text holder. |
Placeholder | IPlaceholder? | Read | Gets the placeholder associated with the shape, or null if none. |
CustomData | ICustomData? | Read | Gets the custom data attached to the shape, or null if none. |
LineFormat | ILineFormat | Read | Gets the line formatting properties for the shape. |
ThreeDFormat | IThreeDFormat | Read | Gets the 3-D formatting properties for the shape. |
EffectFormat | IEffectFormat | Read | Gets the effect formatting properties for the shape. |
FillFormat | IFillFormat | Read | Gets the fill formatting properties for the shape. |
ZOrderPosition | int | Read | Gets the position of the shape in the z-order stack. |
ConnectionSiteCount | int | Read | Gets the number of connection sites available on the shape. |
UniqueId | int | Read | Gets the presentation-scoped internal identifier for the shape. |
OfficeInteropShapeId | int | Read | Gets the slide-scoped unique identifier that remains constant for the shape’s lifetime. |
IsGrouped | bool | Read | Gets a value indicating whether the shape belongs to a group shape. |
AsISlideComponent | ISlideComponent | Read | Returns this instance viewed as an ISlideComponent. |
RawFrame | IShapeFrame | Read/Write | Gets or sets the raw (unresolved) shape frame properties. |
Frame | IShapeFrame | Read/Write | Gets or sets the resolved shape frame properties. |
Hidden | bool | Read/Write | Gets or sets a value indicating whether the shape is hidden from display. |
Rotation | float | Read/Write | Gets or sets the rotation in degrees around the z-axis. |
X | float | Read/Write | Gets or sets the x-coordinate of the upper-left corner, in points. |
Y | float | Read/Write | Gets or sets the y-coordinate of the upper-left corner, in points. |
Width | float | Read/Write | Gets or sets the width of the shape, in points. |
Height | float | Read/Write | Gets or sets the height of the shape, in points. |
AlternativeText | string | Read/Write | Gets or sets the accessibility alternative text for the shape. |
AlternativeTextTitle | string | Read/Write | Gets or sets the title of the alternative text. |
Name | string | Read/Write | Gets or sets the user-visible name of the shape. |
IsDecorative | bool | Read/Write | Gets or sets a value indicating whether the shape is marked as decorative. |
Methods
| Signature | Description |
|---|---|
MergeCells(cell1: ICell, cell2: ICell, allowSplitting: bool) | Merges the rectangular range of cells defined by cell1 and cell2. |
SetTextFormat(source: IBasePortionFormat) | Applies the specified portion format to all text within this object. |