Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

VisioNetworkCalloutRecord

OfficeIMO.Visio.Diagrams

Namespace
OfficeIMO.Visio.Diagrams
Assembly
OfficeIMO.Visio
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

Simple data record used to import network callouts into VisioNetworkDiagramBuilder.

Inheritance

  • object
  • VisioNetworkCalloutRecord

Usage

Explore 2 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 2

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 string required
targetId string required
text string required
placement OfficeIMO.Visio.VisioSide required
gap double = 0.35 optional
public VisioNetworkCalloutRecord(string id, string targetId, string text, double pinX, double pinY) #

Initializes an absolute-position network callout import record.

Parameters

id string required
targetId string required
text string required
pinX double required
pinY double required

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 VisioNetworkCalloutRecord.UsePlacement is false.

public double PinY { get; } #

Absolute callout pin Y, when VisioNetworkCalloutRecord.UsePlacement is false.

public VisioSide Placement { get; } #

Requested callout placement side, when VisioNetworkCalloutRecord.UsePlacement is true.

public double Gap { get; } #

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

public bool UsePlacement { get; } #

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

public double? Width { get; set; } #

Optional explicit callout width.

public double? Height { get; set; } #

Optional explicit callout height.