PageLayout

PageLayout class

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.

Properties

NameTypeDescription
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
ResizePageBoolValueSpecifies whether to enlarge the page to enclose the drawing after a user selects Lay Out Shapes (Shapes menu).
EnableGridBoolValueSpecifies whether Microsoft Visio lays out shapes based on an internal page grid when the user selects Lay Out Shapes (S
DynamicsOffBoolValueSpecifies whether placeable shapes move and connectors reroute around other shapes and connectors on the drawing page.
CtrlAsInputBoolValueDetermines which shape is the parent when using shapes by control handles. This element sets the behavior for all the sh
AvoidPageBreaksBoolValueSpecifies how shapes are placed on the page when shapes are laid out when a user selects Lay Out Shapes (Shape menu).
PlaceStylePlaceStyleSpecifies the routing style and direction for all dynamic connectors on the drawing page that don’t have a local routing
RouteStyleRouteStyleFor a drawing that is laid out automatically, specifies the method by which the drawing is analyzed before creating the
PlaceDepthPlaceDepthSpecifies whether placeable shapes move away when the user drags a placeable shape near another placeable shape on the d
PlowCodeBoolValueDetermines the dynamic connectors to which you want to add jumps.
LineJumpCodeLineJumpCodeSpecifies the line jump style for all connectors on the drawing page that don’t have a local line jump style.
LineJumpStyleLineJumpStyleSpecifies the direction of line jumps on horizontal segments of dynamic connectors on the drawing page for which you hav
PageLineJumpDirXPageLineJumpDirXSpecifies the direction of line jumps on vertical dynamic connectors on the drawing page for which you haven’t applied a
PageLineJumpDirYPageLineJumpDirYSpecifies the minimum horizontal clearance between dynamic connectors and shapes on the drawing page.
LineToNodeXDoubleValueSpecifies the minimum vertical clearance between dynamic connectors and shapes on the drawing page.
LineToNodeYDoubleValueDetermines the horizontal block size, the area in which each of your shapes must fit on the drawing page when you use Mi
BlockSizeXDoubleValueDetermines the vertical block size, the area in which each of your shapes must fit on the drawing page when you use Micr
BlockSizeYDoubleValueDetermines the amount of horizontal space between shapes on the drawing page when you use Microsoft Visio to lay out sha
AvenueSizeXDoubleValueDetermines the amount of vertical space between shapes on the drawing page when you use Microsoft Visio to lay out shape
AvenueSizeYDoubleValueDetermines the amount of vertical space between shapes on the drawing page when you use Microsoft Visio to lay out shape
LineToLineXDoubleValueSpecifies the minimum horizontal clearance between dynamic connectors on the drawing page.
LineToLineYDoubleValueSpecifies the minimum vertical clearance between dynamic connectors on the drawing page.
LineJumpFactorXDoubleValueSpecifies the size of line jumps on horizontal segments of dynamic connectors on the page, as a percentage of the value
LineJumpFactorYDoubleValueSpecifies the size of line jumps on vertical segments of dynamic connectors on the page, as a percentage of the value of
LineAdjustFromLineAdjustFromSpecifies which dynamic connectors to space apart if they route on top of each other.
LineAdjustToLineAdjustToSpecifies which dynamic connectors to line up on top of one another if they route on top of each other.
PlaceFlipPlaceFlipSpecifies how placeable shapes flip and/or rotate on a page when shapes are laid out using the Lay Out Shapes command in
LineRouteExtLineRouteExtSpecifies the default appearance for all connectors on a page.
PageShapeSplitBoolValueIndicates whether shapes on the page can be split automatically.

PageLayout.Del property

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.

Type: int

PageLayout.ResizePage property

Specifies whether to enlarge the page to enclose the drawing after a user selects Lay Out Shapes (Shapes menu).

Type: BoolValue

PageLayout.EnableGrid property

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

Type: BoolValue

PageLayout.DynamicsOff property

Specifies whether placeable shapes move and connectors reroute around other shapes and connectors on the drawing page.

Type: BoolValue

PageLayout.CtrlAsInput property

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.

Type: BoolValue

PageLayout.AvoidPageBreaks property

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

Type: BoolValue

PageLayout.PlaceStyle property

Specifies the routing style and direction for all dynamic connectors on the drawing page that don’t have a local routing style.

Type: PlaceStyle

PageLayout.RouteStyle property

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.

Type: RouteStyle

PageLayout.PlaceDepth property

Specifies whether placeable shapes move away when the user drags a placeable shape near another placeable shape on the drawing page.

Type: PlaceDepth

PageLayout.PlowCode property

Determines the dynamic connectors to which you want to add jumps.

Type: BoolValue

PageLayout.LineJumpCode property

Specifies the line jump style for all connectors on the drawing page that don’t have a local line jump style.

Type: LineJumpCode

PageLayout.LineJumpStyle property

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.

Type: LineJumpStyle

PageLayout.PageLineJumpDirX property

Specifies the direction of line jumps on vertical dynamic connectors on the drawing page for which you haven’t applied a local jump direction.

Type: PageLineJumpDirX

PageLayout.PageLineJumpDirY property

Specifies the minimum horizontal clearance between dynamic connectors and shapes on the drawing page.

Type: PageLineJumpDirY

PageLayout.LineToNodeX property

Specifies the minimum vertical clearance between dynamic connectors and shapes on the drawing page.

Type: DoubleValue

PageLayout.LineToNodeY property

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.

Type: DoubleValue

PageLayout.BlockSizeX property

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.

Type: DoubleValue

PageLayout.BlockSizeY property

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.

Type: DoubleValue

PageLayout.AvenueSizeX property

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.

Type: DoubleValue

PageLayout.AvenueSizeY property

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.

Type: DoubleValue

PageLayout.LineToLineX property

Specifies the minimum horizontal clearance between dynamic connectors on the drawing page.

Type: DoubleValue

PageLayout.LineToLineY property

Specifies the minimum vertical clearance between dynamic connectors on the drawing page.

Type: DoubleValue

PageLayout.LineJumpFactorX property

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.

Type: DoubleValue

PageLayout.LineJumpFactorY property

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.

Type: DoubleValue

PageLayout.LineAdjustFrom property

Specifies which dynamic connectors to space apart if they route on top of each other.

Type: LineAdjustFrom

PageLayout.LineAdjustTo property

Specifies which dynamic connectors to line up on top of one another if they route on top of each other.

Type: LineAdjustTo

PageLayout.PlaceFlip property

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.

Type: PlaceFlip

PageLayout.LineRouteExt property

Specifies the default appearance for all connectors on a page.

Type: LineRouteExt

PageLayout.PageShapeSplit property

Indicates whether shapes on the page can be split automatically.

Type: BoolValue