com.aspose.diagram

Class PageLayout

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

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
DoubleValuegetAvenueSizeX()
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.
DoubleValuegetAvenueSizeY()
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.
BoolValuegetAvoidPageBreaks()
Specifies how shapes are placed on the page when shapes are laid out when a user selects Lay Out Shapes (Shape menu).
DoubleValuegetBlockSizeX()
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.
DoubleValuegetBlockSizeY()
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.
BoolValuegetCtrlAsInput()
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.
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.
BoolValuegetDynamicsOff()
Specifies whether placeable shapes move and connectors reroute around other shapes and connectors on the drawing page.
BoolValuegetEnableGrid()
Specifies whether Microsoft Visio lays out shapes based on an internal page grid when the user selects Lay Out Shapes (Shape menu).
LineAdjustFromgetLineAdjustFrom()
Specifies which dynamic connectors to space apart if they route on top of each other.
LineAdjustTogetLineAdjustTo()
Specifies which dynamic connectors to line up on top of one another if they route on top of each other.
LineJumpCodegetLineJumpCode()
Specifies the line jump style for all connectors on the drawing page that don't have a local line jump style.
DoubleValuegetLineJumpFactorX()
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.
DoubleValuegetLineJumpFactorY()
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.
LineJumpStylegetLineJumpStyle()
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.
LineRouteExtgetLineRouteExt()
Specifies the default appearance for all connectors on a page.
DoubleValuegetLineToLineX()
Specifies the minimum horizontal clearance between dynamic connectors on the drawing page.
DoubleValuegetLineToLineY()
Specifies the minimum vertical clearance between dynamic connectors on the drawing page.
DoubleValuegetLineToNodeX()
Specifies the minimum vertical clearance between dynamic connectors and shapes on the drawing page.
DoubleValuegetLineToNodeY()
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.
PageLineJumpDirXgetPageLineJumpDirX()
Specifies the direction of line jumps on vertical dynamic connectors on the drawing page for which you haven't applied a local jump direction.
PageLineJumpDirYgetPageLineJumpDirY()
Specifies the minimum horizontal clearance between dynamic connectors and shapes on the drawing page.
BoolValuegetPageShapeSplit()
Indicates whether shapes on the page can be split automatically.
PlaceDepthgetPlaceDepth()
Specifies whether placeable shapes move away when the user drags a placeable shape near another placeable shape on the drawing page.
PlaceFlipgetPlaceFlip()
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.
PlaceStylegetPlaceStyle()
Specifies the routing style and direction for all dynamic connectors on the drawing page that don't have a local routing style.
BoolValuegetPlowCode()
Determines the dynamic connectors to which you want to add jumps.
BoolValuegetResizePage()
Specifies whether to enlarge the page to enclose the drawing after a user selects Lay Out Shapes (Shapes menu).
RouteStylegetRouteStyle()
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

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

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

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

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

        public BoolValue 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

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

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

        public RouteStyle 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

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

        public BoolValue getPlowCode()
        
        Determines the dynamic connectors to which you want to add jumps.
      • getLineJumpCode

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

        public LineJumpStyle 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

        public PageLineJumpDirX 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

        public PageLineJumpDirY getPageLineJumpDirY()
        
        Specifies the minimum horizontal clearance between dynamic connectors and shapes on the drawing page.
      • getLineToNodeX

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

        public DoubleValue 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

        public DoubleValue 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

        public DoubleValue 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

        public DoubleValue 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

        public DoubleValue 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

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

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

        public DoubleValue 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

        public DoubleValue 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

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

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

        public PlaceFlip 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

        public LineRouteExt getLineRouteExt()
        
        Specifies the default appearance for all connectors on a page.
      • getPageShapeSplit

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