VisioSelectionLayoutOptions
OfficeIMO.Visio
Options for deterministic selection relayout.
Inheritance
- object
- VisioSelectionLayoutOptions
Usage
Explore 7 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 7
- Method VisioLayoutExtensions.RelayoutAsGrid
- Method VisioPage.RelayoutConnectedComponentAsGrid
- Method VisioPage.RelayoutContainerMembers
- Method VisioPage.RelayoutContainerMembers
- Method VisioPage.RelayoutShapesAsGrid
- Method VisioPage.RelayoutShapesAsGrid
- Extension method VisioShapeSelection.RelayoutAsGrid
Constructors
public VisioSelectionLayoutOptions() #Inherited Methods
Properties
public int? Columns { get; set; } #Number of columns in the generated grid. When unset or zero, OfficeIMO uses a near-square grid.
public double HorizontalSpacing { get; set; } #Horizontal spacing between grid columns in inches.
public double VerticalSpacing { get; set; } #Vertical spacing between grid rows in inches.
public bool PreserveTopLeft { get; set; } #Whether relayout should start at the current selection's top-left bounds. When false, the first shape keeps its current center.
public VisioSelectionLayoutOrder Order { get; set; } #Order used before assigning shapes to grid cells.
public bool RouteInternalConnectors { get; set; } #Whether connectors whose endpoints are both inside the selection should be rerouted orthogonally. Requires a page-backed selection.
public VisioConnectorRouteStyle ConnectorRouteStyle { get; set; } #Orthogonal routing style used for internal connectors when VisioSelectionLayoutOptions.RouteInternalConnectors is enabled.