
**Inheritance:**
java.lang.Object
```
public class RulerGrid
```

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

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getDel()](#getDel--) | A flag indicating whether the element has been deleted locally. |
| [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. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setDel(int value)](#setDel-int-) | For the description of this property, please see [getDel()](../../com.aspose.diagram/rulergrid\#getDel--) |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getDel() {#getDel--}
```
public int getDel()
```


A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

**Returns:**
int
### getXGridDensity() {#getXGridDensity--}
```
public GridDensity getXGridDensity()
```


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

**Returns:**
[GridDensity](../../com.aspose.diagram/griddensity)
### getXGridOrigin() {#getXGridOrigin--}
```
public DoubleValue getXGridOrigin()
```


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

**Returns:**
[DoubleValue](../../com.aspose.diagram/doublevalue)
### getXGridSpacing() {#getXGridSpacing--}
```
public DoubleValue getXGridSpacing()
```


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

**Returns:**
[DoubleValue](../../com.aspose.diagram/doublevalue)
### getXRulerDensity() {#getXRulerDensity--}
```
public RulerDensity getXRulerDensity()
```


Specifies the horizontal subdivisions on the ruler for the page.

**Returns:**
[RulerDensity](../../com.aspose.diagram/rulerdensity)
### getXRulerOrigin() {#getXRulerOrigin--}
```
public DoubleValue getXRulerOrigin()
```


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

**Returns:**
[DoubleValue](../../com.aspose.diagram/doublevalue)
### getYGridDensity() {#getYGridDensity--}
```
public GridDensity getYGridDensity()
```


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

**Returns:**
[GridDensity](../../com.aspose.diagram/griddensity)
### getYGridOrigin() {#getYGridOrigin--}
```
public DoubleValue getYGridOrigin()
```


Specifies the vertical origin of the grid on the page.

**Returns:**
[DoubleValue](../../com.aspose.diagram/doublevalue)
### getYGridSpacing() {#getYGridSpacing--}
```
public DoubleValue getYGridSpacing()
```


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

**Returns:**
[DoubleValue](../../com.aspose.diagram/doublevalue)
### getYRulerDensity() {#getYRulerDensity--}
```
public RulerDensity getYRulerDensity()
```


Specifies the vertical subdivisions on the ruler for the page.

**Returns:**
[RulerDensity](../../com.aspose.diagram/rulerdensity)
### getYRulerOrigin() {#getYRulerOrigin--}
```
public DoubleValue getYRulerOrigin()
```


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

**Returns:**
[DoubleValue](../../com.aspose.diagram/doublevalue)
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setDel(int value) {#setDel-int-}
```
public void setDel(int value)
```


For the description of this property, please see [getDel()](../../com.aspose.diagram/rulergrid\#getDel--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

