RulerGrid

RulerGrid class

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

Properties

NameTypeDescription
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
XRulerDensityRulerDensitySpecifies the horizontal subdivisions on the ruler for the page.
YRulerDensityRulerDensitySpecifies the vertical subdivisions on the ruler for the page.
XRulerOriginDoubleValueSpecifies the zero point on the x-axis (horizontal) ruler for the page.
XGridDensityGridDensitySpecifies the zero point on the y-axis (vertical) ruler for the page.
YGridDensityGridDensitySpecifies the type of vertical grid to use for a page.
XGridSpacingDoubleValueSpecifies the distance between horizontal lines in a fixed grid (that is, a RulerGrid element where the XGridDensity ele
YGridSpacingDoubleValueSpecifies the distance between vertical lines in a fixed grid (that is, a RulerGrid element where the YGridDensity eleme
XGridOriginDoubleValueSpecifies the horizontal coordinate of the grid origin for a page.
YGridOriginDoubleValueSpecifies the vertical origin of the grid on the page.
YRulerOriginDoubleValueSpecifies 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