TableGrid Class

Table Grid.When the object is serialized out as xml, its qualified name is a:tblGrid.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.TableGrid

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

声明
<ChildElementInfoAttribute(GetType(GridColumn))> _
Public Class TableGrid _
    Inherits OpenXmlCompositeElement
用法
Dim instance As TableGrid
[ChildElementInfoAttribute(typeof(GridColumn))]
public class TableGrid : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • GridColumn <a:gridCol>

[ISO/IEC 29500-1 第 1 个版本]

21.1.3.14 tblGrid (Table Grid)

This element defines a list of table column (§21.1.3.2) elements. There should be a table column (§21.1.3.2) element for every column held within the table.

[Example: Consider the following example of a tblGrid within DrawingML:

<a:tblGrid>
<a:gridCol w="1117600"/>
<a:gridCol w="1117600"/>
<a:gridCol w="1117600"/>
</a:tblGrid>

In this example, we have a tblGrid defined that holds three columns, therefore the table has three columns. end example]

Parent Elements

tbl (§21.1.3.13)

Child Elements

Subclause

gridCol (Table Grid Column)

§21.1.3.2

[Note: The W3C XML Schema definition of this element's content model (CT_TableGrid) is located in §A.4.1. end note]

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

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.

See Also

Reference

TableGrid Members

DocumentFormat.OpenXml.Drawing Namespace