PageLayout class

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.

The PageLayout type exposes the following members:

Properties

PropertyDescription
resize_pageSpecifies whether to enlarge the page to enclose the drawing after a user selects Lay Out Shapes (Shapes menu).
enable_gridSpecifies whether Microsoft Visio lays out shapes based on an internal page grid when the user selects Lay Out Shapes (Shape menu).
dynamics_offSpecifies whether placeable shapes move and connectors reroute around other shapes and connectors on the drawing page.
ctrl_as_inputDetermines which shape is the parent when using shapes by control handles. This element sets the behavior for all the shapes on the drawing page.
avoid_page_breaksSpecifies how shapes are placed on the page when shapes are laid out when a user selects Lay Out Shapes (Shape menu).
place_styleSpecifies the routing style and direction for all dynamic connectors on the drawing page that don’t have a local routing style.
route_styleFor 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.
place_depthSpecifies whether placeable shapes move away when the user drags a placeable shape near another placeable shape on the drawing page.
plow_codeDetermines the dynamic connectors to which you want to add jumps.
line_jump_codeSpecifies the line jump style for all connectors on the drawing page that don’t have a local line jump style.
line_jump_styleSpecifies 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.
page_line_jump_dir_xSpecifies the direction of line jumps on vertical dynamic connectors on the drawing page for which you haven’t applied a local jump direction.
page_line_jump_dir_ySpecifies the minimum horizontal clearance between dynamic connectors and shapes on the drawing page.
line_to_node_xSpecifies the minimum vertical clearance between dynamic connectors and shapes on the drawing page.
line_to_node_yDetermines 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.
block_size_xDetermines 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.
block_size_yDetermines the amount of horizontal space between shapes on the drawing page when you use Microsoft Visio to lay out shapes on the drawing page.
avenue_size_xDetermines the amount of vertical space between shapes on the drawing page when you use Microsoft Visio to lay out shapes on the drawing page.
avenue_size_yDetermines the amount of vertical space between shapes on the drawing page when you use Microsoft Visio to lay out shapes on the drawing page.
line_to_line_xSpecifies the minimum horizontal clearance between dynamic connectors on the drawing page.
line_to_line_ySpecifies the minimum vertical clearance between dynamic connectors on the drawing page.
line_jump_factor_xSpecifies 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.
line_jump_factor_ySpecifies 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.
line_adjust_fromSpecifies which dynamic connectors to space apart if they route on top of each other.
line_adjust_toSpecifies which dynamic connectors to line up on top of one another if they route on top of each other.
place_flipSpecifies 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.
line_route_extSpecifies the default appearance for all connectors on a page.
page_shape_splitIndicates whether shapes on the page can be split automatically.

See Also