com.aspose.diagram
Class RulerGrid

java.lang.Object
    extended by com.aspose.diagram.RulerGrid

public class RulerGrid 
extends java.lang.Object

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


Property Getters/Setters Summary
intgetDel()
voidsetDel(int)
           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.
GridDensitygetXGridDensity()
           Specifies the zero point on the y-axis (vertical) ruler for the page.
DoubleValuegetXGridOrigin()
           Specifies the horizontal coordinate of the grid origin for a page.
DoubleValuegetXGridSpacing()
           Specifies the distance between horizontal lines in a fixed grid (that is, a RulerGrid element where the XGridDensity element is set to 0).
RulerDensitygetXRulerDensity()
           Specifies the horizontal subdivisions on the ruler for the page.
DoubleValuegetXRulerOrigin()
           Specifies the zero point on the x-axis (horizontal) ruler for the page.
GridDensitygetYGridDensity()
           Specifies the type of vertical grid to use for a page.
DoubleValuegetYGridOrigin()
           Specifies the vertical origin of the grid on the page.
DoubleValuegetYGridSpacing()
           Specifies the distance between vertical lines in a fixed grid (that is, a RulerGrid element where the YGridDensity element is set to 0).
RulerDensitygetYRulerDensity()
           Specifies the vertical subdivisions on the ruler for the page.
DoubleValuegetYRulerOrigin()
           Specifies the zero point on the y-axis (vertical) ruler for the page.
 

Property Getters/Setters Detail

getDel/setDel

public int getDel() / public void setDel(int value)
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.

getXRulerDensity

public RulerDensity getXRulerDensity()
Specifies the horizontal subdivisions on the ruler for the page.

getYRulerDensity

public RulerDensity getYRulerDensity()
Specifies the vertical subdivisions on the ruler for the page.

getXRulerOrigin

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

getXGridDensity

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

getYGridDensity

public GridDensity getYGridDensity()
Specifies the type of vertical grid to use for a page.

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

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

getXGridOrigin

public DoubleValue getXGridOrigin()
Specifies the horizontal coordinate of the grid origin for a page.

getYGridOrigin

public DoubleValue getYGridOrigin()
Specifies the vertical origin of the grid on the page.

getYRulerOrigin

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

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.