asposediagram.api

Class PrintProps

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

Property Getters/Setters Summary
methodgetCenterX()
Determines whether the drawing page is centered horizontally on the printed page.
methodgetCenterY()
Determines whether the drawing page is centered vertically on the printed page.
methodgetDel()
method
setDel(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.
methodgetOnPage()
Indicates whether the drawing is printed on a specific number of printer pages.
methodgetPageBottomMargin()
Specifies the margin at the bottom of the printed page.
methodgetPageLeftMargin()
Specifies the margin at the left of the printed page.
methodgetPageRightMargin()
Specifies the margin at the right of the printed page.
methodgetPagesX()
Determines the number of printer pages on which to fit the drawing page horizontally.
methodgetPagesY()
Determines the number of printer pages on which to fit the drawing page vertically.
methodgetPageTopMargin()
Specifies the margin at the top of the printer page.
methodgetPaperKind()
Specifies the type of paper on which to print the page.
methodgetPaperSource()
Determines the paper source for the page.
methodgetPrintGrid()
Specifies whether to print the grid when printing a document page.
methodgetPrintPageOrientation()
Determines whether the page is printed in portrait or landscape orientation.
methodgetScaleX()
Specifies the margin at the bottom of the printed page.
methodgetScaleY()
Specifies the percentage of magnification of the drawing page on the printer page, in the y (vertical) direction.
 

    • Property Getters/Setters Detail

      • getDel/setDel : int 

        int getDel() / setDel(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 : DoubleValue 

        DoubleValue getPageLeftMargin()
        
        Specifies the margin at the left of the printed page.
      • getPageRightMargin : DoubleValue 

        DoubleValue getPageRightMargin()
        
        Specifies the margin at the right of the printed page.
      • getPageTopMargin : DoubleValue 

        DoubleValue getPageTopMargin()
        
        Specifies the margin at the top of the printer page.
      • getPageBottomMargin : DoubleValue 

        DoubleValue getPageBottomMargin()
        
        Specifies the margin at the bottom of the printed page.
      • getScaleY : DoubleValue 

        DoubleValue getScaleY()
        
        Specifies the percentage of magnification of the drawing page on the printer page, in the y (vertical) direction.
      • getPagesX : IntValue 

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

        IntValue getPagesY()
        
        Determines the number of printer pages on which to fit the drawing page vertically.
      • getCenterX : BoolValue 

        BoolValue getCenterX()
        
        Determines whether the drawing page is centered horizontally on the printed page.
      • getCenterY : BoolValue 

        BoolValue getCenterY()
        
        Determines whether the drawing page is centered vertically on the printed page.
      • getOnPage : BoolValue 

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

        BoolValue getPrintGrid()
        
        Specifies whether to print the grid when printing a document page.
      • getPaperKind : IntValue 

        IntValue getPaperKind()
        
        Specifies the type of paper on which to print the page.
      • getPaperSource : IntValue 

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