RulerGrid
RulerGrid class
Contains elements that specify the settings of the page’s rulers and grid.
Properties
| Name | Type | Description |
|---|---|---|
| Del | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| XRulerDensity | RulerDensity | Specifies the horizontal subdivisions on the ruler for the page. |
| YRulerDensity | RulerDensity | Specifies the vertical subdivisions on the ruler for the page. |
| XRulerOrigin | DoubleValue | Specifies the zero point on the x-axis (horizontal) ruler for the page. |
| XGridDensity | GridDensity | Specifies the zero point on the y-axis (vertical) ruler for the page. |
| YGridDensity | GridDensity | Specifies the type of vertical grid to use for a page. |
| XGridSpacing | DoubleValue | Specifies the distance between horizontal lines in a fixed grid (that is, a RulerGrid element where the XGridDensity ele |
| YGridSpacing | DoubleValue | Specifies the distance between vertical lines in a fixed grid (that is, a RulerGrid element where the YGridDensity eleme |
| XGridOrigin | DoubleValue | Specifies the horizontal coordinate of the grid origin for a page. |
| YGridOrigin | DoubleValue | Specifies the vertical origin of the grid on the page. |
| YRulerOrigin | DoubleValue | Specifies the zero point on the y-axis (vertical) ruler for the page. |
RulerGrid.Del property
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.
Type: int
RulerGrid.XRulerDensity property
Specifies the horizontal subdivisions on the ruler for the page.
Type: RulerDensity
RulerGrid.YRulerDensity property
Specifies the vertical subdivisions on the ruler for the page.
Type: RulerDensity
RulerGrid.XRulerOrigin property
Specifies the zero point on the x-axis (horizontal) ruler for the page.
Type: DoubleValue
RulerGrid.XGridDensity property
Specifies the zero point on the y-axis (vertical) ruler for the page.
Type: GridDensity
RulerGrid.YGridDensity property
Specifies the type of vertical grid to use for a page.
Type: GridDensity
RulerGrid.XGridSpacing property
Specifies the distance between horizontal lines in a fixed grid (that is, a RulerGrid element where the XGridDensity element is set to 0).
Type: DoubleValue
RulerGrid.YGridSpacing property
Specifies the distance between vertical lines in a fixed grid (that is, a RulerGrid element where the YGridDensity element is set to 0).
Type: DoubleValue
RulerGrid.XGridOrigin property
Specifies the horizontal coordinate of the grid origin for a page.
Type: DoubleValue
RulerGrid.YGridOrigin property
Specifies the vertical origin of the grid on the page.
Type: DoubleValue
RulerGrid.YRulerOrigin property
Specifies the zero point on the y-axis (vertical) ruler for the page.
Type: DoubleValue