# docGrid element

Specifies the document grid.

## Usage

    <docGrid
    	type="docGridValue"
    	line-pitch="decimalNumberType"
    	char-space="decimalNumberType"
    />

## Element Information

Element type | docGridType
Namespace | http://schemas.microsoft.com/office/word/2003/wordml
Schema name | XML Document 2003

## Elements and Attributes

### Parent Elements

Element | Description
--- | ---
sectPr | Represents section properties for section that terminates at this paragraph mark.
sectPr | Represents the section properties for the very last section in the document.

### Child Elements

None.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
type | docGridValue | optional | Gets or sets the grid type. | default lines lines-and-chars snap-to-chars
line-pitch | decimalNumberType | optional | Gets or sets the line pitch and space between lines. The number of lines per page will automatically be adjusted to fit the space between the lines. |
char-space | decimalNumberType | optional | Gets or sets the number of characters per line for a document. |

## Definition

    <xsd:element name="docGrid" type="docGridType" minOccurs="0" >
    </xsd:element>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp