<drawingGridVerticalOrigin> (Drawing Grid Vertical Origin Point)

This element specifies the distance from of the top edge of the page which shall be used as the origin for the vertical gridlines used by the drawing grid. The drawing grid is a virtual grid which may be used by applications to specify where drawing objects shall be positioned on a page when inserted (i.e. to ensure objects are aligned, etc.). Since the grid always covers the entire page when the <doNotUseMarginsForDrawingGridOrigin> element (§2.15.1.41) is specified, this element shall only affect the starting edge of the first vertical gridline displayed (i.e. it only adjusts the grid by the modulus of the value against the width of one grid unit).

If this element is omitted, then the gridlines shall start at the topmost edge of the page. If the <doNotUseMarginsForDrawingGridOrigin> element is not specified, then this element is ignored.

example:
<w:settings>
  …
  <w:dontuseMarginsForDrawingGridOrigin w:val="true" />
  <w:drawingGridVerticallOrigin w:val="1440" /></w:settings>

The< drawingGridVerticalOrigin> element's @val attribute is equal to 1440 specifying that the vertical edge of the document's drawing grid shall begin one inch (1440 twentieths of a point) from the top edge of the page, since the <dontUseMarginsForDrawingGridOrigin> element's @val attribute is equal to true. ]

Parent Elements

<settings>2.15.1.78)

Attributes

Description

<val> (Measurement in Twentieths of a Point)

Specifies a positive measurement value, specified in twentieths of a point. This value is interpreted based on the context of the parent XML element.

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

The @val attribute has a value of 720, specifying that this measurement value is 720 twentieths of a point (0.5"). This value is interpreted by the parent element as needed. ]

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

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

<complexType name="CT_TwipsMeasure">
	<attribute name="val" type="ST_TwipsMeasure" use="required"/>
</complexType>