Table Class
Table.When the object is serialized out as xml, its qualified name is a:tbl.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Table
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(TableProperties))> _
<ChildElementInfoAttribute(GetType(TableGrid))> _
<ChildElementInfoAttribute(GetType(TableRow))> _
Public Class Table _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As Table
[ChildElementInfoAttribute(typeof(TableProperties))]
[ChildElementInfoAttribute(typeof(TableGrid))]
[ChildElementInfoAttribute(typeof(TableRow))]
public class Table : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
TableProperties <a:tblPr>
TableGrid <a:tblGrid>
TableRow <a:tr>
[ISO/IEC 29500-1 1st Edition]
21.1.3.13 tbl (Table)
This element is the root element for a table. Within this element is contained everything that one would need to define a table within DrawingML.
[Example: Consider the following example of a tbl within DrawingML:
<a:tbl> <a:tblPr firstRow="1" bandRow="1"> … <a:tblPr> <a:tblGrid> … </a:tblGrid> <a:tr h="419100"> … </a:tr> </a:tbl>
In this example, we see can see the definition of a table within DrawingML. end example]
Child Elements |
Subclause |
---|---|
tblGrid (Table Grid) |
§21.1.3.14 |
tblPr (Table Properties) |
§21.1.3.15 |
tr (Table Row) |
§21.1.3.18 |
[Note: The W3C XML Schema definition of this element’s content model (CT_Table) is located in §A.4.1. end note]
© ISO/IEC29500: 2008.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.