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

Property Description
resize_page Specifies whether to enlarge the page to enclose the drawing after a user selects Lay Out Shapes (Shapes menu).
enable_grid Specifies whether Microsoft Visio lays out shapes based on an internal page grid when the user selects Lay Out Shapes (Shape menu).
dynamics_off Specifies whether placeable shapes move and connectors reroute around other shapes and connectors on the drawing page.
ctrl_as_input 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.
avoid_page_breaks Specifies how shapes are placed on the page when shapes are laid out when a user selects Lay Out Shapes (Shape menu).
place_style Specifies the routing style and direction for all dynamic connectors on the drawing page that don’t have a local routing style.
route_style 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.
place_depth Specifies whether placeable shapes move away when the user drags a placeable shape near another placeable shape on the drawing page.
plow_code Determines the dynamic connectors to which you want to add jumps.
line_jump_code Specifies the line jump style for all connectors on the drawing page that don’t have a local line jump style.
line_jump_style 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.
page_line_jump_dir_x Specifies 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_y Specifies the minimum horizontal clearance between dynamic connectors and shapes on the drawing page.
line_to_node_x Specifies the minimum vertical clearance between dynamic connectors and shapes on the drawing page.
line_to_node_y 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.
block_size_x 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.
block_size_y 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.
avenue_size_x 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.
avenue_size_y 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.
line_to_line_x Specifies the minimum horizontal clearance between dynamic connectors on the drawing page.
line_to_line_y Specifies the minimum vertical clearance between dynamic connectors on the drawing page.
line_jump_factor_x 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.
line_jump_factor_y 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.
line_adjust_from Specifies which dynamic connectors to space apart if they route on top of each other.
line_adjust_to Specifies which dynamic connectors to line up on top of one another if they route on top of each other.
place_flip 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.
line_route_ext Specifies the default appearance for all connectors on a page.
page_shape_split Indicates whether shapes on the page can be split automatically.

See Also