RulerGrid

RulerGrid class

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

Methods

NameDescription
getDel()A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
getXGridDensity()Specifies the zero point on the y-axis (vertical) ruler for the page.
getXGridOrigin()Specifies the horizontal coordinate of the grid origin for a page.
getXGridSpacing()Specifies the distance between horizontal lines in a fixed grid (that is, a RulerGrid element where the XGridDensity ele
getXRulerDensity()Specifies the horizontal subdivisions on the ruler for the page.
getXRulerOrigin()Specifies the zero point on the x-axis (horizontal) ruler for the page.
getYGridDensity()Specifies the type of vertical grid to use for a page.
getYGridOrigin()Specifies the vertical origin of the grid on the page.
getYGridSpacing()Specifies the distance between vertical lines in a fixed grid (that is, a RulerGrid element where the YGridDensity eleme
getYRulerDensity()Specifies the vertical subdivisions on the ruler for the page.
getYRulerOrigin()Specifies the zero point on the y-axis (vertical) ruler for the page.
setDel()A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca

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()

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

getXGridOrigin()

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

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()

Specifies the horizontal subdivisions on the ruler for the page.

getXRulerOrigin()

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

getYGridDensity()

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

getYGridOrigin()

Specifies the vertical origin of the grid on the page.

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()

Specifies the vertical subdivisions on the ruler for the page.

getYRulerOrigin()

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

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.