[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

drawingGridHorizontalSpacing (Drawing Grid Horizontal Grid Unit Size)

This element specifies the width of horizontal grid units in this document. 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 each horizontal grid unit shall be 180 twentieths of a point (0.125") in width.

[Example: Consider the image below illustrating a WordprocessingML document in which all horizontal grid units are each 144 twentieths of a point wide (and all are showing):

If the gridlines in this document shall only be displayed for every half an inch, that requirement would be specified using the following WordprocessingML in the document settings:

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

The resulting grid would look like the following:

The drawingGridHorizontalSpacing element has its val attribute equal to 720, therefore every horizontal gridline has a width of one half of an inch (720 twentieths of a point). end example]

Parent Elements

settings2.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.

 

[Example: Consider the following WordprocessingML element with a val attribute containing a positive measurement in twentieths of a point:

 

<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. end example]

 

The possible values for this attribute are defined by the ST_TwipsMeasure simple type2.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>