API Reference

Class

VisioSwimlaneDiagramBuilder

Namespace OfficeIMO.Visio.Diagrams
Assembly OfficeIMO.Visio
Modifiers sealed

High-level builder for dependency-free swimlane and cross-functional process diagrams.

Inheritance

  • Object
  • VisioSwimlaneDiagramBuilder

Usage

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

Accepted by parameters

Methods

public VisioSwimlaneDiagramBuilder Activity(String id, String text, String laneId, String phaseId, VisioSwimlaneActivityKind kind = Step) #
Returns: VisioSwimlaneDiagramBuilder

Adds an activity in a lane and phase.

Parameters

id System.String requiredposition: 0
text System.String requiredposition: 1
laneId System.String requiredposition: 2
phaseId System.String requiredposition: 3
kind OfficeIMO.Visio.Diagrams.VisioSwimlaneActivityKind = Step optionalposition: 4
public VisioSwimlaneDiagramBuilder ActivitySize(Double width, Double height) #
Returns: VisioSwimlaneDiagramBuilder

Sets the default activity size.

Parameters

width System.Double requiredposition: 0
height System.Double requiredposition: 1
public VisioSwimlaneDiagramBuilder ActivityStackGap(Double gap) #
Returns: VisioSwimlaneDiagramBuilder

Sets the vertical gap used when multiple activities share the same lane/phase cell.

Parameters

gap System.Double requiredposition: 0
Callout 4 overloads
public VisioSwimlaneDiagramBuilder Callout(String targetId, String text, VisioSide placement, Double gap = 0.35, Action<VisioCalloutOptions> configure = null) #
Returns: VisioSwimlaneDiagramBuilder

Adds a semantic callout connected to a known swimlane activity using a generated callout id.

Parameters

targetId System.String requiredposition: 0
text System.String requiredposition: 1
pinX System.Double requiredposition: 2
pinY System.Double = 0.35 optionalposition: 3
configure System.Action{OfficeIMO.Visio.VisioCalloutOptions} = null optionalposition: 4
public VisioSwimlaneDiagramBuilder Callout(String targetId, String id, String text, VisioSide placement, Double gap = 0.35, Action<VisioCalloutOptions> configure = null) #
Returns: VisioSwimlaneDiagramBuilder

Adds a semantic callout connected to a known swimlane activity.

Parameters

targetId System.String requiredposition: 0
id System.String requiredposition: 1
text System.String requiredposition: 2
pinX System.Double requiredposition: 3
pinY System.Double = 0.35 optionalposition: 4
configure System.Action{OfficeIMO.Visio.VisioCalloutOptions} = null optionalposition: 5
Callout(System.String targetId, System.String text, OfficeIMO.Visio.VisioSide placement, System.Double gap, System.Action{OfficeIMO.Visio.VisioCalloutOptions} configure) #

Adds a semantic callout placed beside a known swimlane activity using a generated callout id.

Parameters

targetId System.String required
text System.String required
placement OfficeIMO.Visio.VisioSide required
gap System.Double required
configure System.Action{OfficeIMO.Visio.VisioCalloutOptions} required
Callout(System.String targetId, System.String id, System.String text, OfficeIMO.Visio.VisioSide placement, System.Double gap, System.Action{OfficeIMO.Visio.VisioCalloutOptions} configure) #

Adds a semantic callout placed beside a known swimlane activity.

Parameters

targetId System.String required
id System.String required
text System.String required
placement OfficeIMO.Visio.VisioSide required
gap System.Double required
configure System.Action{OfficeIMO.Visio.VisioCalloutOptions} required
public VisioSwimlaneDiagramBuilder Data(String id, String text, String laneId, String phaseId) #
Returns: VisioSwimlaneDiagramBuilder

Adds a data/input/output activity.

Parameters

id System.String requiredposition: 0
text System.String requiredposition: 1
laneId System.String requiredposition: 2
phaseId System.String requiredposition: 3
public VisioSwimlaneDiagramBuilder Decision(String id, String text, String laneId, String phaseId) #
Returns: VisioSwimlaneDiagramBuilder

Adds a decision activity.

Parameters

id System.String requiredposition: 0
text System.String requiredposition: 1
laneId System.String requiredposition: 2
phaseId System.String requiredposition: 3
public VisioSwimlaneDiagramBuilder End(String id, String text, String laneId, String phaseId) #
Returns: VisioSwimlaneDiagramBuilder

Adds an end activity.

Parameters

id System.String requiredposition: 0
text System.String requiredposition: 1
laneId System.String requiredposition: 2
phaseId System.String requiredposition: 3
public VisioSwimlaneDiagramBuilder Exception(String fromId, String toId, String label = null) #
Returns: VisioSwimlaneDiagramBuilder

Adds an exception or alternate-path flow.

Parameters

fromId System.String requiredposition: 0
toId System.String requiredposition: 1
label System.String = null optionalposition: 2
public VisioSwimlaneDiagramBuilder Flow(String fromId, String toId, String label = null) #
Returns: VisioSwimlaneDiagramBuilder

Adds a standard process flow.

Parameters

fromId System.String requiredposition: 0
toId System.String requiredposition: 1
label System.String = null optionalposition: 2
public VisioSwimlaneDiagramBuilder GridSize(Double phaseWidth, Double laneHeight, Double laneHeaderWidth = 1.35, Double phaseHeaderHeight = 0.55) #
Returns: VisioSwimlaneDiagramBuilder

Sets lane and phase dimensions.

Parameters

phaseWidth System.Double requiredposition: 0
laneHeight System.Double requiredposition: 1
laneHeaderWidth System.Double = 1.35 optionalposition: 2
phaseHeaderHeight System.Double = 0.55 optionalposition: 3
public VisioSwimlaneDiagramBuilder Handoff(String fromId, String toId, String label = null) #
Returns: VisioSwimlaneDiagramBuilder

Adds a cross-lane handoff flow.

Parameters

fromId System.String requiredposition: 0
toId System.String requiredposition: 1
label System.String = null optionalposition: 2
public VisioSwimlaneDiagramBuilder Lane(String id, String text) #
Returns: VisioSwimlaneDiagramBuilder

Adds a horizontal lane for a role, team, or system.

Parameters

id System.String requiredposition: 0
text System.String requiredposition: 1
public VisioSwimlaneDiagramBuilder Margins(Double left, Double top, Double right = 0.6, Double bottom = 0.6) #
Returns: VisioSwimlaneDiagramBuilder

Sets the outer page margins.

Parameters

left System.Double requiredposition: 0
top System.Double requiredposition: 1
right System.Double = 0.6 optionalposition: 2
bottom System.Double = 0.6 optionalposition: 3
public VisioSwimlaneDiagramBuilder PageSize(Double width, Double height, VisioMeasurementUnit unit = Inches) #
Returns: VisioSwimlaneDiagramBuilder

Sets the page size used by the generated swimlane page.

Parameters

width System.Double requiredposition: 0
height System.Double requiredposition: 1
unit OfficeIMO.Visio.VisioMeasurementUnit = Inches optionalposition: 2
public VisioSwimlaneDiagramBuilder Phase(String id, String text) #
Returns: VisioSwimlaneDiagramBuilder

Adds a vertical phase/milestone column.

Parameters

id System.String requiredposition: 0
text System.String requiredposition: 1
public VisioSwimlaneDiagramBuilder Start(String id, String text, String laneId, String phaseId) #
Returns: VisioSwimlaneDiagramBuilder

Adds a start activity.

Parameters

id System.String requiredposition: 0
text System.String requiredposition: 1
laneId System.String requiredposition: 2
phaseId System.String requiredposition: 3
public VisioSwimlaneDiagramBuilder Step(String id, String text, String laneId, String phaseId) #
Returns: VisioSwimlaneDiagramBuilder

Adds a process step.

Parameters

id System.String requiredposition: 0
text System.String requiredposition: 1
laneId System.String requiredposition: 2
phaseId System.String requiredposition: 3
public VisioSwimlaneDiagramBuilder Theme(VisioStyleTheme theme) #
Returns: VisioSwimlaneDiagramBuilder

Sets the visual theme.

Parameters

theme OfficeIMO.Visio.VisioStyleTheme requiredposition: 0
public VisioSwimlaneDiagramBuilder Title(String text = null, String id = "title", Double height = 0.45, Double gap = 0.35) #
Returns: VisioSwimlaneDiagramBuilder

Adds a centered editable title above the generated swimlane grid.

Parameters

text System.String = null optionalposition: 0
id System.String = "title" optionalposition: 1
height System.Double = 0.45 optionalposition: 2
gap System.Double = 0.35 optionalposition: 3