PageProps

Inheritance: java.lang.Object

public class PageProps

Contains cells that control page attributes, such as the page width, height, and scale.

Methods

MethodDescription
deepClone()Creates deep copy of this instance.
equals(Object arg0)
getClass()
getDel()A flag indicating whether the element has been deleted locally.
getDrawingResizeType()Determines whether the drawing page resizes automatically to fit the diagram.
getDrawingScale()Represents the value of the drawing unit in the current drawing scale.
getDrawingScaleType()Specifies the type of drawing scale to use for a page.
getDrawingSizeType()Specifies the drawing size of a page.
getInhibitSnap()Specifies whether the shapes on a foreground page snap to other objects on the page and shapes on the background page.
getPageHeight()Specifies the height of the page in drawing units.
getPageScale()Specifies the value of the default page unit in the current drawing scale.
getPageWidth()Specifies the width of the page in drawing units.
getShdwObliqueAngle()Contains a number that specifies the angle of oblique direction when the default page shadow type is applied.
getShdwOffsetX()Specifies the distance in page units that a shape’s drop shadow is offset horizontally from the shape.
getShdwOffsetY()Specifies the distance in page units that a shape’s drop shadow is offset vertically from the shape.
getShdwScaleFactor()Specifies the percentage to enlarge or reduce a shape’s shadow.
getShdwType()Indicates the default shadow type for a page.
getUIVisibility()Determines whether the page name is exposed in the user interface (UI).
hashCode()
notify()
notifyAll()
setDel(int value)For the description of this property, please see getDel()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

deepClone()

public Object deepClone()

Creates deep copy of this instance.

Returns: java.lang.Object -

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

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

getDrawingResizeType()

public DrawingResizeType getDrawingResizeType()

Determines whether the drawing page resizes automatically to fit the diagram.

Returns: DrawingResizeType

getDrawingScale()

public DoubleValue getDrawingScale()

Represents the value of the drawing unit in the current drawing scale. The drawing scale for the page is the ratio of the page unit contained in the PageScale element to the drawing unit. The units of this element determine default length (DL) units for the page.

Returns: DoubleValue

getDrawingScaleType()

public DrawingScaleType getDrawingScaleType()

Specifies the type of drawing scale to use for a page.

Returns: DrawingScaleType

getDrawingSizeType()

public DrawingSizeType getDrawingSizeType()

Specifies the drawing size of a page.

Returns: DrawingSizeType

getInhibitSnap()

public BoolValue getInhibitSnap()

Specifies whether the shapes on a foreground page snap to other objects on the page and shapes on the background page.

Returns: BoolValue

getPageHeight()

public DoubleValue getPageHeight()

Specifies the height of the page in drawing units.

Returns: DoubleValue

getPageScale()

public DoubleValue getPageScale()

Specifies the value of the default page unit in the current drawing scale. The drawing scale for the page is the ratio of the page unit in the PageScale element to the drawing unit shown in the DrawingScale element.

Returns: DoubleValue

getPageWidth()

public DoubleValue getPageWidth()

Specifies the width of the page in drawing units.

Returns: DoubleValue

getShdwObliqueAngle()

public DoubleValue getShdwObliqueAngle()

Contains a number that specifies the angle of oblique direction when the default page shadow type is applied.

Returns: DoubleValue

getShdwOffsetX()

public DoubleValue getShdwOffsetX()

Specifies the distance in page units that a shape’s drop shadow is offset horizontally from the shape.

Returns: DoubleValue

getShdwOffsetY()

public DoubleValue getShdwOffsetY()

Specifies the distance in page units that a shape’s drop shadow is offset vertically from the shape.

Returns: DoubleValue

getShdwScaleFactor()

public DoubleValue getShdwScaleFactor()

Specifies the percentage to enlarge or reduce a shape’s shadow.

Returns: DoubleValue

getShdwType()

public ShdwType getShdwType()

Indicates the default shadow type for a page.

Returns: ShdwType

getUIVisibility()

public UIVisibility getUIVisibility()

Determines whether the page name is exposed in the user interface (UI). A value of one specifies that the page is not visible; a value of zero specifies the page is visible

Returns: UIVisibility

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setDel(int value)

public void setDel(int value)

For the description of this property, please see getDel()

Parameters:

ParameterTypeDescription
valueint

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int