Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class Table : BodyRegion, ITable, ICompositeObject, IDocumentObject, [T:sprᦿ], [T:sprᧀ]
Public Class Table Inherits BodyRegion Implements ITable, ICompositeObject, IDocumentObject, [T:sprᦿ], [T:sprᧀ]
public ref class Table : public BodyRegion, ITable, ICompositeObject, IDocumentObject, [T:sprᦿ], [T:sprᧀ]
type Table = class inherit BodyRegion interface ITable interface ICompositeObject interface IDocumentObject interface [T:sprᦿ] interface [T:sprᧀ] end
Members
| All Members | Constructors | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| Table(IDocument) | Initializes a new instance of the Table class | |
| Table(IDocument, Boolean) | Initializes a new instance of the Table class | |
| Table(IDocument, Boolean, Single) | Initializes a new instance of the Table class | |
| AddCaption(String, CaptionNumberingFormat, CaptionPosition) |
Add Caption for current Table
| |
| AddRow()()()() |
Adds a row to table
| |
| AddRow(Boolean) |
Adds new row to table.
| |
| AddRow(Int32) |
Adds a row to table with copy format from the current last row, and then add columnsNum cells to the new row.
| |
| AddRow(Boolean, Boolean) |
Adds a row to table with copy format option
| |
| AddRow(Boolean, Int32) |
Adds a row to table with copy format option
| |
| ApplyHorizontalMerge(Int32, Int32, Int32) |
Applies horizontal merging for cells of table row.
| |
| ApplyStyle(DefaultTableStyle) |
Applies the built-in table style.
| |
| ApplyTableStyle()()()() |
Applies the table style properties to table and cell.
| |
| ApplyVerticalMerge(Int32, Int32, Int32) |
Applies the vertical merge for table cells.
| |
| AutoFit(AutoFitBehaviorType) |
Determines how Microsoft Word resizes a table when the AutoFit feature is used.
| |
| ChildObjects |
Gets the child entities.
(Overrides DocumentObject..::..ChildObjects.) | |
| Clone()()()() |
Clones this instance.
| |
| CloneImpl()()()() | (Overrides DocumentSerializable..::..CloneImpl()()()().) | |
| ColumnWidth |
Gets or sets the width of each column.
| |
| CreateLayoutInfo()()()() | (Overrides DocumentBase..::..CreateLayoutInfo()()()().) | |
| DefaultColumnsNumber | ||
| DefaultColumnWidth |
Gets or sets the default width of each column.
| |
| DefaultRowHeight |
Gets or sets the default row height, the unit of measure is point, 1point = 0.3528 mm
| |
| DeleteRevision |
Gets the delete revision for this objects.
Note this can be null. If null does not have delete revision.
(Inherited from BodyRegion.) | |
| Document |
Gets the document.
(Inherited from OwnerHolder.) | |
| DocumentObjectType |
Gets the type of the document object.
(Overrides DocumentObject..::..DocumentObjectType.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| Find(Regex) |
Finds text by specified pattern.
(Overrides BodyRegion..::..Find(Regex).) | |
| FirstChild | (Inherited from DocumentObject.) | |
| FirstRow |
Get first row of the table.
| |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetNextInSection(Section) | (Inherited from BodyRegion.) | |
| GetNextWidgetSibling()()()() | (Inherited from DocumentObject.) | |
| GetPreviousWidgetSibling()()()() | (Inherited from DocumentObject.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IndentFromLeft |
Gets or sets indent from left for the table.
| |
| InitXDLSHolder()()()() | (Overrides DocumentSerializable..::..InitXDLSHolder()()()().) | |
| InsertRevision |
Gets the insert revision for this objects.
Note this can be null. If null does not have insert revision.
(Inherited from BodyRegion.) | |
| IsComposite |
Indicating whether this instance is composite.
(Inherited from DocumentObject.) | |
| IsDeleteRevision |
Gets a value indicating whether this item was deleted from the document.
(Inherited from BodyRegion.) | |
| IsInsertRevision |
Gets a value indicating whether this item was inserted to the document.
(Inherited from BodyRegion.) | |
| Item[([( Int32, Int32])]) |
Get table cell by row and column indexes.
| |
| LastCell |
Get last cell of the table
| |
| LastChild | (Inherited from DocumentObject.) | |
| LastRow |
Get last row of the table.
| |
| m_doc | (Inherited from OwnerHolder.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| NextSibling |
Gets the next sibling.
(Inherited from DocumentObject.) | |
| Owner |
Gets the owner of this entity.
(Inherited from DocumentObject.) | |
| OwnerTextBody |
Gets the owner text body.
(Inherited from BodyRegion.) | |
| PreferredWidth |
This property specifies the preferred horizontal width of a table.
| |
| PreviousSibling |
Gets the previous sibling.
(Inherited from DocumentObject.) | |
| ReadXmlAttributes(IXDLSAttributeReader) | (Inherited from DocumentSerializable.) | |
| ReadXmlContent(IXDLSContentReader) | (Inherited from DocumentSerializable.) | |
| RemoveAbsPosition()()()() |
Removes the absolute position data. If table has absolute position in the document,
all position data will be erased.
| |
| Replace(Regex, TextSelection) |
Replaces by specified pattern.
(Overrides BodyRegion..::..Replace(Regex, TextSelection).) | |
| Replace(Regex, String) |
Replaces all entries of matchString regular expression with newValue string.
(Overrides BodyRegion..::..Replace(Regex, String).) | |
| Replace(Regex, TextSelection, Boolean) |
Replaces by specified pattern.
(Overrides BodyRegion..::..Replace(Regex, TextSelection, Boolean).) | |
| Replace(String, String, Boolean, Boolean) |
Replaces by specified matchString string.
(Overrides BodyRegion..::..Replace(String, String, Boolean, Boolean).) | |
| ResetCells(Int32, Int32) |
Resets rows / columns numbers.
| |
| ResetCells(Int32, Int32, RowFormat, Single) |
Resets rows / columns numbers.
| |
| RestoreReference(String, Int32) | (Inherited from DocumentSerializable.) | |
| Rows |
Get the table rows
| |
| TableDescription |
Gets or sets the table description.
| |
| TableFormat |
Gets the table formatting after ResetCells call.
| |
| TableStyleName |
Gets table style name.
| |
| Title |
Gets or sets the table title.
| |
| ToString()()()() | (Inherited from Object.) | |
| ToString(String) |
Exports the name and index in container of the object into a string in the specified seperator.
(Inherited from DocumentObject.) | |
| Width |
Gets the table width
| |
| WriteXmlAttributes(IXDLSAttributeWriter) | (Overrides DocumentSerializable..::..WriteXmlAttributes(IXDLSAttributeWriter).) | |
| WriteXmlContent(IXDLSContentWriter) | (Inherited from DocumentSerializable.) | |
| XDLSHolder | (Inherited from DocumentSerializable.) |
Inheritance Hierarchy
System..::..Object
Spire.Doc..::..OwnerHolder
Spire.Doc.Documents.XML..::..DocumentSerializable
Spire.Doc..::..DocumentObject
Spire.Doc..::..DocumentBase
Spire.Doc..::..BodyRegion
Spire.Doc..::..Table
Spire.Doc..::..OwnerHolder
Spire.Doc.Documents.XML..::..DocumentSerializable
Spire.Doc..::..DocumentObject
Spire.Doc..::..DocumentBase
Spire.Doc..::..BodyRegion
Spire.Doc..::..Table