w:col (Column Definition)
Specifies the width and spacing for an individual column in a multi-column layout.
Parent elements
Description
w:col defines the width and trailing space of one column in a multi-column section, used when w:cols has w:equalWidth="false". It is defined in ECMA-376 Part 1 §17.6.3.
w:col elements are children of w:cols, one per column. The w:space attribute represents the gap between this column and the next; it is omitted on the last column.
Attributes
| Attribute | Type | Possible Values | Description |
|---|---|---|---|
w:w |
ST_TwipsMeasure |
Positive integer (twips). | Width of this column. |
w:space |
ST_TwipsMeasure |
Positive integer (twips). | Space (gap) after this column (between this column and the next). Omit on the last column. |
Examples
<!-- Two unequal columns: 3000 twips + 720 gap + 6000 twips -->
<w:cols w:equalWidth="false">
<w:col w:w="3000" w:space="720"/>
<w:col w:w="6000"/>
</w:cols>
new Columns(
new Column { Width = "3000", Space = "720" },
new Column { Width = "6000" })
{ EqualWidth = false };