API Reference

Class

VisioNetworkCalloutRecord

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

Simple data record used to import network callouts into VisioNetworkDiagramBuilder.

Inheritance

  • Object
  • VisioNetworkCalloutRecord

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

VisioNetworkCalloutRecord 2 overloads
public VisioNetworkCalloutRecord(String id, String targetId, String text, VisioSide placement, Double gap = 0.35) #

Initializes a placement-based network callout import record.

Parameters

id System.String requiredposition: 0
targetId System.String requiredposition: 1
text System.String requiredposition: 2
placement OfficeIMO.Visio.VisioSide requiredposition: 3
gap System.Double = 0.35 optionalposition: 4
public VisioNetworkCalloutRecord(String id, String targetId, String text, Double pinX, Double pinY) #

Initializes an absolute-position network callout import record.

Parameters

id System.String requiredposition: 0
targetId System.String requiredposition: 1
text System.String requiredposition: 2
pinX System.Double requiredposition: 3
pinY System.Double requiredposition: 4

Properties

public String Id { get; } #

Stable callout id.

public String TargetId { get; } #

Target node id.

public String Text { get; } #

Visible callout text.

public Double PinX { get; } #

Absolute callout pin X, when UsePlacement is false.

public Double PinY { get; } #

Absolute callout pin Y, when UsePlacement is false.

public VisioSide Placement { get; } #

Requested callout placement side, when UsePlacement is true.

public Double Gap { get; } #

Requested callout gap from the target node, when UsePlacement is true.

public Boolean UsePlacement { get; } #

Whether the callout should be placed relative to the target node.

public Nullable<Double> Width { get; set; } #

Optional explicit callout width.

public Nullable<Double> Height { get; set; } #

Optional explicit callout height.