Table Class |
Namespace: Spire.Doc
The Table type exposes the following members.
Name | 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 with the specified document, border visibility, and line width.
|
Name | Description | |
---|---|---|
![]() |
ChildObjects |
Gets the child entities.
(Overrides
DocumentObject
ChildObjects
.)
|
![]() |
ColumnWidth |
Gets or sets the width of each column.
|
![]() |
DefaultColumnsNumber |
Gets or sets the default column count of per row.
|
![]() |
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
.)
|
![]() |
FirstChild |
Gets the first child of the Element.
(Inherited from
DocumentObject
.)
|
![]() |
FirstRow |
Get first row of the table.
|
![]() |
Format |
Gets the table format.
Please use it after calling the RestCells method.
|
![]() |
IndentFromLeft |
Gets or sets indent from left for the table.
|
![]() |
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 |
Get table cell by row and column indexes.
|
![]() |
LastCell |
Get last cell of the table
|
![]() |
LastChild |
Gets the last child of the Element.
(Inherited from
DocumentObject
.)
|
![]() |
LastRow |
Get last row of the table.
|
![]() |
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
.)
|
![]() |
Rows |
Get the table rows
|
![]() |
TableDescription |
Gets or sets the table description.
|
![]() |
TableFormat |
Obsolete.
Gets the table format.
Please use it after calling the RestCells method.
|
![]() |
TableStyleName |
Gets table style name.
|
![]() |
Title |
Gets or sets the table title.
|
![]() |
Width |
Gets the table width
|
![]() |
XDLSHolder | (Inherited from DocumentSerializable .) |
Name | Description | |
---|---|---|
![]() |
AddCaption |
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 |
Applies horizontal merging for cells of table row.
|
![]() |
ApplyStyle |
Applies the built-in table style.
|
![]() |
ApplyTableStyle |
Applies the table style properties to table and cell.
|
![]() |
ApplyVerticalMerge |
Applies the vertical merge for table cells.
|
![]() |
AutoFit |
Determines how Microsoft Word resizes a table when the AutoFit feature is used.
|
![]() |
ClearBorders |
Clears the borders of all rows and cells in the table.
|
![]() |
Clone |
Clones this instance.
|
![]() |
CloneImpl | (Overrides DocumentSerializable CloneImpl .) |
![]() |
CreateLayoutInfo | (Overrides DocumentBase CreateLayoutInfo .) |
![]() |
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
![]() |
Find |
Finds text by specified pattern.
(Overrides
BodyRegion
Find(Regex)
.)
|
![]() |
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
![]() |
GetNextInSection | (Inherited from BodyRegion .) |
![]() |
GetNextWidgetSibling |
Gets the next sibling.
(Inherited from
DocumentObject
.)
|
![]() |
GetPreviousWidgetSibling |
Gets the previous widget sibling.
(Inherited from
DocumentObject
.)
|
![]() |
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
![]() |
InitXDLSHolder | (Overrides DocumentSerializable InitXDLSHolder .) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
![]() |
ReadXmlAttributes | (Overrides DocumentSerializable ReadXmlAttributes(IXDLSAttributeReader) .) |
![]() |
ReadXmlContent | (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 | (Inherited from DocumentSerializable .) |
![]() |
SetBorder |
Sets the border for the specified border positions and style.
|
![]() |
SetBorders |
Sets the borders for all possible border positions in the table with the specified style, line width, and color.
|
![]() |
SetColumnWidth |
Sets the width of all cells in the current column of the table.
|
![]() |
ToString |
Returns a string that represents the current object.
(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
.)
|
![]() |
WriteXmlAttributes | (Overrides DocumentSerializable WriteXmlAttributes(IXDLSAttributeWriter) .) |
![]() |
WriteXmlContent | (Inherited from DocumentSerializable .) |
Name | Description | |
---|---|---|
![]() |
m_doc | (Inherited from OwnerHolder .) |