GridColumn class

Office 2013 and later

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

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

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

gridCol (Table Grid Column)

This element specifies the width of a given column within a table. For each column in a table, there is an associated table grid column defining the width of the column.

[Example: Consider the following example of a table grid containing widths defined for three table grid columns:

<a:tblGrid>
  <a:gridCol w="1117600"/>
  <a:gridCol w="1117600"/>
  <a:gridCol w="1117600"/>
</a:tblGrid>
end example]

Parent Elements

tblGrid (§21.1.3.14)

Child Elements

Subclause

extLst (Extension List)

§20.1.2.2.15

Attributes

Description

w (Width)

The width of the column in EMUs.

The possible values for this attribute are defined by the ST_Coordinate simple type (§20.1.10.16).

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

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: