com.aspose.diagram

Class PageProps

  • java.lang.Object
    • com.aspose.diagram.PageProps
public class PageProps 
extends java.lang.Object

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

Property Getters/Setters Summary
intgetDel()
void
setDel(intvalue)
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.
DrawingResizeTypegetDrawingResizeType()
Determines whether the drawing page resizes automatically to fit the diagram.
DoubleValuegetDrawingScale()
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.
DrawingScaleTypegetDrawingScaleType()
Specifies the type of drawing scale to use for a page.
DrawingSizeTypegetDrawingSizeType()
Specifies the drawing size of a page.
BoolValuegetInhibitSnap()
Specifies whether the shapes on a foreground page snap to other objects on the page and shapes on the background page.
DoubleValuegetPageHeight()
Specifies the height of the page in drawing units.
DoubleValuegetPageScale()
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.
DoubleValuegetPageWidth()
Specifies the width of the page in drawing units.
DoubleValuegetShdwObliqueAngle()
Contains a number that specifies the angle of oblique direction when the default page shadow type is applied.
DoubleValuegetShdwOffsetX()
Specifies the distance in page units that a shape's drop shadow is offset horizontally from the shape.
DoubleValuegetShdwOffsetY()
Specifies the distance in page units that a shape's drop shadow is offset vertically from the shape.
DoubleValuegetShdwScaleFactor()
Specifies the percentage to enlarge or reduce a shape's shadow.
ShdwTypegetShdwType()
Indicates the default shadow type for a page.
UIVisibilitygetUIVisibility()
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
 
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.
      • getPageWidth

        public DoubleValue getPageWidth()
        
        Specifies the width of the page in drawing units.
      • getPageHeight

        public DoubleValue getPageHeight()
        
        Specifies the height of the page in drawing units.
      • getShdwOffsetX

        public DoubleValue getShdwOffsetX()
        
        Specifies the distance in page units that a shape's drop shadow is offset horizontally from the shape.
      • getShdwOffsetY

        public DoubleValue getShdwOffsetY()
        
        Specifies the distance in page units that a shape's drop shadow is offset vertically from the shape.
      • 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.
      • 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.
      • getDrawingSizeType

        public DrawingSizeType getDrawingSizeType()
        
        Specifies the drawing size of a page.
      • getDrawingScaleType

        public DrawingScaleType getDrawingScaleType()
        
        Specifies the type of drawing scale to use for a page.
      • 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.
      • 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
      • getShdwType

        public ShdwType getShdwType()
        
        Indicates the default shadow type for a page.
      • getShdwObliqueAngle

        public DoubleValue getShdwObliqueAngle()
        
        Contains a number that specifies the angle of oblique direction when the default page shadow type is applied.
      • getShdwScaleFactor

        public DoubleValue getShdwScaleFactor()
        
        Specifies the percentage to enlarge or reduce a shape's shadow.
      • getDrawingResizeType

        public DrawingResizeType getDrawingResizeType()
        
        Determines whether the drawing page resizes automatically to fit the diagram.
    • Method Detail

      • deepClone

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