com.aspose.diagram
Class PrintProps

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

public class PrintProps 
extends java.lang.Object

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


Property Getters/Setters Summary
BoolValuegetCenterX()
           Determines whether the drawing page is centered horizontally on the printed page.
BoolValuegetCenterY()
           Determines whether the drawing page is centered vertically on the printed page.
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.
BoolValuegetOnPage()
           Indicates whether the drawing is printed on a specific number of printer pages.
DoubleValuegetPageBottomMargin()
           Specifies the margin at the bottom of the printed page.
DoubleValuegetPageLeftMargin()
           Specifies the margin at the left of the printed page.
DoubleValuegetPageRightMargin()
           Specifies the margin at the right of the printed page.
IntValuegetPagesX()
           Determines the number of printer pages on which to fit the drawing page horizontally.
IntValuegetPagesY()
           Determines the number of printer pages on which to fit the drawing page vertically.
DoubleValuegetPageTopMargin()
           Specifies the margin at the top of the printer page.
IntValuegetPaperKind()
           Specifies the type of paper on which to print the page.
IntValuegetPaperSource()
           Determines the paper source for the page.
BoolValuegetPrintGrid()
           Specifies whether to print the grid when printing a document page.
PrintPageOrientationgetPrintPageOrientation()
           Determines whether the page is printed in portrait or landscape orientation.
DoubleValuegetScaleX()
           Specifies the percentage of magnification of the drawing page on the printer page, in the x (horizontal) direction.
DoubleValuegetScaleY()
           Specifies the percentage of magnification of the drawing page on the printer page, in the y (vertical) direction.
 
Method Summary
java.lang.ObjectdeepClone()
           Creates deep copy of this instance.
 

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.

getPageLeftMargin

public DoubleValue getPageLeftMargin()
Specifies the margin at the left of the printed page.

getPageRightMargin

public DoubleValue getPageRightMargin()
Specifies the margin at the right of the printed page.

getPageTopMargin

public DoubleValue getPageTopMargin()
Specifies the margin at the top of the printer page.

getPageBottomMargin

public DoubleValue getPageBottomMargin()
Specifies the margin at the bottom of the printed page.

getScaleX

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

getScaleY

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

getPagesX

public IntValue getPagesX()
Determines the number of printer pages on which to fit the drawing page horizontally.

getPagesY

public IntValue getPagesY()
Determines the number of printer pages on which to fit the drawing page vertically.

getCenterX

public BoolValue getCenterX()
Determines whether the drawing page is centered horizontally on the printed page.

getCenterY

public BoolValue getCenterY()
Determines whether the drawing page is centered vertically on the printed page.

getOnPage

public BoolValue getOnPage()
Indicates whether the drawing is printed on a specific number of printer pages.

getPrintGrid

public BoolValue getPrintGrid()
Specifies whether to print the grid when printing a document page.

getPrintPageOrientation

public PrintPageOrientation getPrintPageOrientation()
Determines whether the page is printed in portrait or landscape orientation.

getPaperKind

public IntValue getPaperKind()
Specifies the type of paper on which to print the page.

getPaperSource

public IntValue getPaperSource()
Determines the paper source for the page.

Method Detail

deepClone

public java.lang.Object deepClone()
                throws java.lang.Exception
Creates deep copy of this instance.
Returns:

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