
## RulerGrid class

Contains elements that specify the settings of the page's rulers and grid.

## Methods

| Name | Description |
| --- | --- |
| [getDel()](#getdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [getXGridDensity()](#getxgriddensity) | Specifies the zero point on the y-axis (vertical) ruler for the page. |
| [getXGridOrigin()](#getxgridorigin) | Specifies the horizontal coordinate of the grid origin for a page. |
| [getXGridSpacing()](#getxgridspacing) | Specifies the distance between horizontal lines in a fixed grid (that is, a RulerGrid element where the XGridDensity ele |
| [getXRulerDensity()](#getxrulerdensity) | Specifies the horizontal subdivisions on the ruler for the page. |
| [getXRulerOrigin()](#getxrulerorigin) | Specifies the zero point on the x-axis (horizontal) ruler for the page. |
| [getYGridDensity()](#getygriddensity) | Specifies the type of vertical grid to use for a page. |
| [getYGridOrigin()](#getygridorigin) | Specifies the vertical origin of the grid on the page. |
| [getYGridSpacing()](#getygridspacing) | Specifies the distance between vertical lines in a fixed grid (that is, a RulerGrid element where the YGridDensity eleme |
| [getYRulerDensity()](#getyrulerdensity) | Specifies the vertical subdivisions on the ruler for the page. |
| [getYRulerOrigin()](#getyrulerorigin) | Specifies the zero point on the y-axis (vertical) ruler for the page. |
| [setDel()](#setdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |

### getDel() {#getdel}

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

### getXGridDensity() {#getxgriddensity}

Specifies the zero point on the y-axis (vertical) ruler for the page.

### getXGridOrigin() {#getxgridorigin}

Specifies the horizontal coordinate of the grid origin for a page.

### getXGridSpacing() {#getxgridspacing}

Specifies the distance between horizontal lines in a fixed grid (that is, a RulerGrid element where the XGridDensity element is set to 0).

### getXRulerDensity() {#getxrulerdensity}

Specifies the horizontal subdivisions on the ruler for the page.

### getXRulerOrigin() {#getxrulerorigin}

Specifies the zero point on the x-axis (horizontal) ruler for the page.

### getYGridDensity() {#getygriddensity}

Specifies the type of vertical grid to use for a page.

### getYGridOrigin() {#getygridorigin}

Specifies the vertical origin of the grid on the page.

### getYGridSpacing() {#getygridspacing}

Specifies the distance between vertical lines in a fixed grid (that is, a RulerGrid element where the YGridDensity element is set to 0).

### getYRulerDensity() {#getyrulerdensity}

Specifies the vertical subdivisions on the ruler for the page.

### getYRulerOrigin() {#getyrulerorigin}

Specifies the zero point on the y-axis (vertical) ruler for the page.

### setDel() {#setdel}

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
