API Reference

Class

VisioSelectionLayoutOptions

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio
Modifiers sealed

Options for deterministic selection relayout.

Inheritance

  • Object
  • VisioSelectionLayoutOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Properties

public Nullable<Int32> 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 Boolean 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 Boolean 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 RouteInternalConnectors is enabled.