aspose.diagram
Class PageProps

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

Property Getters/Setters Summary
functiongetDel()
functionsetDel(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.
functiongetDrawingResizeType()
           Determines whether the drawing page resizes automatically to fit the diagram.
functiongetDrawingScale()
           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.
functiongetDrawingScaleType()
           Specifies the type of drawing scale to use for a page.
functiongetDrawingSizeType()
           Specifies the drawing size of a page.
functiongetInhibitSnap()
           Specifies whether the shapes on a foreground page snap to other objects on the page and shapes on the background page.
functiongetPageHeight()
           Specifies the height of the page in drawing units.
functiongetPageScale()
           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.
functiongetPageWidth()
           Specifies the width of the page in drawing units.
functiongetShdwObliqueAngle()
           Contains a number that specifies the angle of oblique direction when the default page shadow type is applied.
functiongetShdwOffsetX()
           Specifies the distance in page units that a shape's drop shadow is offset horizontally from the shape.
functiongetShdwOffsetY()
           Specifies the distance in page units that a shape's drop shadow is offset vertically from the shape.
functiongetShdwScaleFactor()
           Specifies the percentage to enlarge or reduce a shape's shadow.
functiongetShdwType()
           Indicates the default shadow type for a page.
functiongetUIVisibility()
           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
functiondeepClone()
           Creates deep copy of this instance.
 

Property Getters/Setters Detail

getDel/setDel : Number 

function getDel() / function 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.

getPageWidth : DoubleValue 

function getPageWidth()
Specifies the width of the page in drawing units.

getPageHeight : DoubleValue 

function getPageHeight()
Specifies the height of the page in drawing units.

getShdwOffsetX : DoubleValue 

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

getShdwOffsetY : DoubleValue 

function getShdwOffsetY()
Specifies the distance in page units that a shape's drop shadow is offset vertically from the shape.

getPageScale : DoubleValue 

function 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 : DoubleValue 

function 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 : DrawingSizeType 

function getDrawingSizeType()
Specifies the drawing size of a page.

getDrawingScaleType : DrawingScaleType 

function getDrawingScaleType()
Specifies the type of drawing scale to use for a page.

getInhibitSnap : BoolValue 

function getInhibitSnap()
Specifies whether the shapes on a foreground page snap to other objects on the page and shapes on the background page.

getUIVisibility : UIVisibility 

function 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 : ShdwType 

function getShdwType()
Indicates the default shadow type for a page.

getShdwObliqueAngle : DoubleValue 

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

getShdwScaleFactor : DoubleValue 

function getShdwScaleFactor()
Specifies the percentage to enlarge or reduce a shape's shadow.

getDrawingResizeType : DrawingResizeType 

function getDrawingResizeType()
Determines whether the drawing page resizes automatically to fit the diagram.

Method Detail

deepClone

function deepClone()
Creates deep copy of this instance.
Returns:

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