aspose.diagram

Class PageLayout

Contains cells that control the page layout settings for shapes and connectors, such as spacing between all shapes on the page, spacing between all connectors on the page, and routing style for all connectors on the page.

Property Getters/Setters Summary
functiongetAvenueSizeX()
Determines the amount of vertical space between shapes on the drawing page when you use Microsoft Visio to lay out shapes on the drawing page.
functiongetAvenueSizeY()
Determines the amount of vertical space between shapes on the drawing page when you use Microsoft Visio to lay out shapes on the drawing page.
functiongetAvoidPageBreaks()
Specifies how shapes are placed on the page when shapes are laid out when a user selects Lay Out Shapes (Shape menu).
functiongetBlockSizeX()
Determines the vertical block size, the area in which each of your shapes must fit on the drawing page when you use Microsoft Visio to lay out shapes on the drawing page.
functiongetBlockSizeY()
Determines the amount of horizontal space between shapes on the drawing page when you use Microsoft Visio to lay out shapes on the drawing page.
functiongetCtrlAsInput()
Determines which shape is the parent when using shapes by control handles. This element sets the behavior for all the shapes on the drawing page.
functiongetDel()
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.
functiongetDynamicsOff()
Specifies whether placeable shapes move and connectors reroute around other shapes and connectors on the drawing page.
functiongetEnableGrid()
Specifies whether Microsoft Visio lays out shapes based on an internal page grid when the user selects Lay Out Shapes (Shape menu).
functiongetLineAdjustFrom()
Specifies which dynamic connectors to space apart if they route on top of each other.
functiongetLineAdjustTo()
Specifies which dynamic connectors to line up on top of one another if they route on top of each other.
functiongetLineJumpCode()
Specifies the line jump style for all connectors on the drawing page that don't have a local line jump style.
functiongetLineJumpFactorX()
Specifies the size of line jumps on horizontal segments of dynamic connectors on the page, as a percentage of the value of the LineToLineX element (which specifies the horizontal clearance between all connectors on the drawing page). The value of this element ranges from 0 to 10.
functiongetLineJumpFactorY()
Specifies the size of line jumps on vertical segments of dynamic connectors on the page, as a percentage of the value of the LineToLineY element (which specifies the vertical clearance between all connectors on the drawing page). This element can contain a value from 0 to 10.
functiongetLineJumpStyle()
Specifies the direction of line jumps on horizontal segments of dynamic connectors on the drawing page for which you haven't applied a local jump direction.
functiongetLineRouteExt()
Specifies the default appearance for all connectors on a page.
functiongetLineToLineX()
Specifies the minimum horizontal clearance between dynamic connectors on the drawing page.
functiongetLineToLineY()
Specifies the minimum vertical clearance between dynamic connectors on the drawing page.
functiongetLineToNodeX()
Specifies the minimum vertical clearance between dynamic connectors and shapes on the drawing page.
functiongetLineToNodeY()
Determines the horizontal block size, the area in which each of your shapes must fit on the drawing page when you use Microsoft Visio to lay out shapes on the drawing page.
functiongetPageLineJumpDirX()
Specifies the direction of line jumps on vertical dynamic connectors on the drawing page for which you haven't applied a local jump direction.
functiongetPageLineJumpDirY()
Specifies the minimum horizontal clearance between dynamic connectors and shapes on the drawing page.
functiongetPageShapeSplit()
Indicates whether shapes on the page can be split automatically.
functiongetPlaceDepth()
Specifies whether placeable shapes move away when the user drags a placeable shape near another placeable shape on the drawing page.
functiongetPlaceFlip()
Specifies how placeable shapes flip and/or rotate on a page when shapes are laid out using the Lay Out Shapes command in Microsoft Visio. The following hexadecimal values are allowed.
functiongetPlaceStyle()
Specifies the routing style and direction for all dynamic connectors on the drawing page that don't have a local routing style.
functiongetPlowCode()
Determines the dynamic connectors to which you want to add jumps.
functiongetResizePage()
Specifies whether to enlarge the page to enclose the drawing after a user selects Lay Out Shapes (Shapes menu).
functiongetRouteStyle()
For a drawing that is laid out automatically, specifies the method by which the drawing is analyzed before creating the layout and determines the type of layout.
 

    • 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.
      • getResizePage : BoolValue 

        function getResizePage()
        
        Specifies whether to enlarge the page to enclose the drawing after a user selects Lay Out Shapes (Shapes menu).
      • getEnableGrid : BoolValue 

        function getEnableGrid()
        
        Specifies whether Microsoft Visio lays out shapes based on an internal page grid when the user selects Lay Out Shapes (Shape menu).
      • getDynamicsOff : BoolValue 

        function getDynamicsOff()
        
        Specifies whether placeable shapes move and connectors reroute around other shapes and connectors on the drawing page.
      • getCtrlAsInput : BoolValue 

        function getCtrlAsInput()
        
        Determines which shape is the parent when using shapes by control handles. This element sets the behavior for all the shapes on the drawing page.
      • getAvoidPageBreaks : BoolValue 

        function getAvoidPageBreaks()
        
        Specifies how shapes are placed on the page when shapes are laid out when a user selects Lay Out Shapes (Shape menu).
      • getPlaceStyle : PlaceStyle 

        function getPlaceStyle()
        
        Specifies the routing style and direction for all dynamic connectors on the drawing page that don't have a local routing style.
      • getRouteStyle : RouteStyle 

        function getRouteStyle()
        
        For a drawing that is laid out automatically, specifies the method by which the drawing is analyzed before creating the layout and determines the type of layout.
      • getPlaceDepth : PlaceDepth 

        function getPlaceDepth()
        
        Specifies whether placeable shapes move away when the user drags a placeable shape near another placeable shape on the drawing page.
      • getPlowCode : BoolValue 

        function getPlowCode()
        
        Determines the dynamic connectors to which you want to add jumps.
      • getLineJumpCode : LineJumpCode 

        function getLineJumpCode()
        
        Specifies the line jump style for all connectors on the drawing page that don't have a local line jump style.
      • getLineJumpStyle : LineJumpStyle 

        function getLineJumpStyle()
        
        Specifies the direction of line jumps on horizontal segments of dynamic connectors on the drawing page for which you haven't applied a local jump direction.
      • getPageLineJumpDirX : PageLineJumpDirX 

        function getPageLineJumpDirX()
        
        Specifies the direction of line jumps on vertical dynamic connectors on the drawing page for which you haven't applied a local jump direction.
      • getPageLineJumpDirY : PageLineJumpDirY 

        function getPageLineJumpDirY()
        
        Specifies the minimum horizontal clearance between dynamic connectors and shapes on the drawing page.
      • getLineToNodeX : DoubleValue 

        function getLineToNodeX()
        
        Specifies the minimum vertical clearance between dynamic connectors and shapes on the drawing page.
      • getLineToNodeY : DoubleValue 

        function getLineToNodeY()
        
        Determines the horizontal block size, the area in which each of your shapes must fit on the drawing page when you use Microsoft Visio to lay out shapes on the drawing page.
      • getBlockSizeX : DoubleValue 

        function getBlockSizeX()
        
        Determines the vertical block size, the area in which each of your shapes must fit on the drawing page when you use Microsoft Visio to lay out shapes on the drawing page.
      • getBlockSizeY : DoubleValue 

        function getBlockSizeY()
        
        Determines the amount of horizontal space between shapes on the drawing page when you use Microsoft Visio to lay out shapes on the drawing page.
      • getAvenueSizeX : DoubleValue 

        function getAvenueSizeX()
        
        Determines the amount of vertical space between shapes on the drawing page when you use Microsoft Visio to lay out shapes on the drawing page.
      • getAvenueSizeY : DoubleValue 

        function getAvenueSizeY()
        
        Determines the amount of vertical space between shapes on the drawing page when you use Microsoft Visio to lay out shapes on the drawing page.
      • getLineToLineX : DoubleValue 

        function getLineToLineX()
        
        Specifies the minimum horizontal clearance between dynamic connectors on the drawing page.
      • getLineToLineY : DoubleValue 

        function getLineToLineY()
        
        Specifies the minimum vertical clearance between dynamic connectors on the drawing page.
      • getLineJumpFactorX : DoubleValue 

        function getLineJumpFactorX()
        
        Specifies the size of line jumps on horizontal segments of dynamic connectors on the page, as a percentage of the value of the LineToLineX element (which specifies the horizontal clearance between all connectors on the drawing page). The value of this element ranges from 0 to 10.
      • getLineJumpFactorY : DoubleValue 

        function getLineJumpFactorY()
        
        Specifies the size of line jumps on vertical segments of dynamic connectors on the page, as a percentage of the value of the LineToLineY element (which specifies the vertical clearance between all connectors on the drawing page). This element can contain a value from 0 to 10.
      • getLineAdjustFrom : LineAdjustFrom 

        function getLineAdjustFrom()
        
        Specifies which dynamic connectors to space apart if they route on top of each other.
      • getLineAdjustTo : LineAdjustTo 

        function getLineAdjustTo()
        
        Specifies which dynamic connectors to line up on top of one another if they route on top of each other.
      • getPlaceFlip : PlaceFlip 

        function getPlaceFlip()
        
        Specifies how placeable shapes flip and/or rotate on a page when shapes are laid out using the Lay Out Shapes command in Microsoft Visio. The following hexadecimal values are allowed.
      • getLineRouteExt : LineRouteExt 

        function getLineRouteExt()
        
        Specifies the default appearance for all connectors on a page.
      • getPageShapeSplit : BoolValue 

        function getPageShapeSplit()
        
        Indicates whether shapes on the page can be split automatically.