Click or drag to resize

ITable Interface

Represents a table in a document.

Namespace: Spire.Doc.Interface
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public interface ITable : ICompositeObject, IDocumentObject

The ITable type exposes the following members.

Properties
Name Description
Public property ChildObjects
Gets the child entities.
(Inherited from ICompositeObject .)
Public property Document
Gets document of this entity.
(Inherited from IDocumentObject .)
Public property DocumentObjectType
Gets the type of the document object.
(Inherited from IDocumentObject .)
Public property FirstRow
Gets the last row in table.
Public property IndentFromLeft
Gets or sets indent from left for the table.
Public property IsComposite
Gets a value indicating whether this instance is composite.
(Inherited from IDocumentObject .)
Public property Item
Gets cell by row/column indexes.
Public property LastCell
Gets the last cell in last row.
Public property LastRow
Gets the last row in table.
Public property NextSibling
Gets the next sibling.
(Inherited from IDocumentObject .)
Public property Owner
Gets owner of this document object.
(Inherited from IDocumentObject .)
Public property PreviousSibling
Gets the previous sibling.
(Inherited from IDocumentObject .)
Public property Rows
Gets row collection.
Public property TableFormat
Gets the table format.
Public property Width
Returns or setstable width.
Top
Methods
Name Description
Public method AddRow
Adds new row to table.
Public method AddRow(Boolean)
Adds new row to table.
Public method AddRow(Boolean, Boolean)
Adds a row to table with copy format option
Public method ApplyHorizontalMerge
Applies horizontal merging for cells of table row.
Public method ApplyVerticalMerge
Applies the vertical merge for table cells.
Public method Clone
Creates a duplicate of the document object.
(Inherited from IDocumentObject .)
Public method GetNextWidgetSibling
Gets the next widget sibling.
(Inherited from IDocumentObject .)
Public method GetPreviousWidgetSibling
Gets the previous sibling.
(Inherited from IDocumentObject .)
Public method RemoveAbsPosition
Removes the absolute position data. If table has absolute position in the document, all position data will be erased.
Public method ResetCells(Int32, Int32)
Resets rows / columns numbers.
Public method ResetCells(Int32, Int32, RowFormat, Single)
Resets rows / columns numbers.
Top
See Also