PrintProps

Inheritance: java.lang.Object

public class PrintProps

Contains elements that control how the drawing page is formatted (appears) on the printer page.

Methods

MethodDescription
equals(Object arg0)
getCenterX()Determines whether the drawing page is centered horizontally on the printed page.
getCenterY()Determines whether the drawing page is centered vertically on the printed page.
getClass()
getDel()A flag indicating whether the element has been deleted locally.
getOnPage()Indicates whether the drawing is printed on a specific number of printer pages.
getPageBottomMargin()Specifies the margin at the bottom of the printed page.
getPageLeftMargin()Specifies the margin at the left of the printed page.
getPageRightMargin()Specifies the margin at the right of the printed page.
getPageTopMargin()Specifies the margin at the top of the printer page.
getPagesX()Determines the number of printer pages on which to fit the drawing page horizontally.
getPagesY()Determines the number of printer pages on which to fit the drawing page vertically.
getPaperKind()Specifies the type of paper on which to print the page.
getPaperSource()Determines the paper source for the page.
getPrintGrid()Specifies whether to print the grid when printing a document page.
getPrintPageOrientation()Determines whether the page is printed in portrait or landscape orientation.
getScaleX()Specifies the percentage of magnification of the drawing page on the printer page, in the x (horizontal) direction.
getScaleY()Specifies the percentage of magnification of the drawing page on the printer page, in the y (vertical) direction.
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)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getCenterX()

public BoolValue getCenterX()

Determines whether the drawing page is centered horizontally on the printed page.

Returns: BoolValue

getCenterY()

public BoolValue getCenterY()

Determines whether the drawing page is centered vertically on the printed page.

Returns: BoolValue

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

getOnPage()

public BoolValue getOnPage()

Indicates whether the drawing is printed on a specific number of printer pages.

Returns: BoolValue

getPageBottomMargin()

public DoubleValue getPageBottomMargin()

Specifies the margin at the bottom of the printed page.

Returns: DoubleValue

getPageLeftMargin()

public DoubleValue getPageLeftMargin()

Specifies the margin at the left of the printed page.

Returns: DoubleValue

getPageRightMargin()

public DoubleValue getPageRightMargin()

Specifies the margin at the right of the printed page.

Returns: DoubleValue

getPageTopMargin()

public DoubleValue getPageTopMargin()

Specifies the margin at the top of the printer page.

Returns: DoubleValue

getPagesX()

public IntValue getPagesX()

Determines the number of printer pages on which to fit the drawing page horizontally.

Returns: IntValue

getPagesY()

public IntValue getPagesY()

Determines the number of printer pages on which to fit the drawing page vertically.

Returns: IntValue

getPaperKind()

public IntValue getPaperKind()

Specifies the type of paper on which to print the page.

Returns: IntValue

getPaperSource()

public IntValue getPaperSource()

Determines the paper source for the page.

Returns: IntValue

getPrintGrid()

public BoolValue getPrintGrid()

Specifies whether to print the grid when printing a document page.

Returns: BoolValue

getPrintPageOrientation()

public PrintPageOrientation getPrintPageOrientation()

Determines whether the page is printed in portrait or landscape orientation.

Returns: PrintPageOrientation

getScaleX()

public DoubleValue getScaleX()

Specifies the percentage of magnification of the drawing page on the printer page, in the x (horizontal) direction.

Returns: DoubleValue

getScaleY()

public DoubleValue getScaleY()

Specifies the percentage of magnification of the drawing page on the printer page, in the y (vertical) direction.

Returns: DoubleValue

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