<displayVerticalDrawingGridEvery> (Distance between Vertical Gridlines)

This element specifies the number of vertical grid units defined using the <drawingGridVerticalSpacing> element (§ which shall be allowed between subsequent vertical gridlines in this document, if gridlines are being shown.
Note: : The display of gridlines is an application-level setting not specified in this Office Open XML Standard.
The drawing grid is a grid which may be used by applications to help position floating objects in the document.

If this element is omitted, then vertical gridlines shall not be displayed.


If the vertical drawing gridlines in this document shall only be displayed for every 4th gridline, that requirement would be specified using the following WordprocessingML in the document settings:

<w:displayVerticalDrawingGridEvery w:val="4" />

The resulting grid would look like the following:

The <displayVerticalDrawingGridEvery> element has its @val attribute equal to 4, therefore every fourth vertical gridline is displayed in the document when the drawing grid is turned on. ]

Parent Elements




<val> (Decimal Number Value)

Specifies that the contents of this attribute will contain a decimal number.

The contents of this decimal number are interpreted based on the context of the parent XML element.

<w:… w:val="1512645511" />

The value of the @val attribute is a decimal number whose value must be interpreted in the context of the parent element. ]

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

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_DecimalNumber">
	<attribute name="val" type="ST_DecimalNumber" use="required"/>