API Reference

Class

VisioCalloutExtensions

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio
Modifiers static

Editing helpers for adding semantic callouts and annotation leader lines.

Inheritance

  • Object
  • VisioCalloutExtensions

Methods

AddCallout 4 overloads
public static VisioShape AddCallout(VisioPage page, VisioShape target, String text, VisioSide placement, Double gap = 0.35, VisioCalloutOptions options = null) #
Returns: VisioShape

Adds a callout near a target shape using an automatically assigned shape identifier.

Parameters

page OfficeIMO.Visio.VisioPage requiredposition: 0
Page that receives the callout.
target OfficeIMO.Visio.VisioShape requiredposition: 1
Shape being annotated.
text System.String requiredposition: 2
Callout text.
pinX System.Double requiredposition: 3
Callout pin X coordinate.
pinY System.Double = 0.35 optionalposition: 4
Callout pin Y coordinate.
options OfficeIMO.Visio.VisioCalloutOptions = null optionalposition: 5
Optional callout options.
AddCallout(OfficeIMO.Visio.VisioPage page, OfficeIMO.Visio.VisioShape target, System.String text, OfficeIMO.Visio.VisioSide placement, System.Double gap, OfficeIMO.Visio.VisioCalloutOptions options) #

Adds a callout on a target side using an automatically assigned shape identifier.

Parameters

page OfficeIMO.Visio.VisioPage required
Page that receives the callout.
target OfficeIMO.Visio.VisioShape required
Shape being annotated.
text System.String required
Callout text.
placement OfficeIMO.Visio.VisioSide required
Side of the target where the callout should be placed.
gap System.Double required
Distance between the target edge and callout edge, in page units.
options OfficeIMO.Visio.VisioCalloutOptions required
Optional callout options.
public static VisioShape AddCallout(VisioPage page, VisioShape target, String id, String text, VisioSide placement, Double gap = 0.35, VisioCalloutOptions options = null) #
Returns: VisioShape

Adds a callout near a target shape using an explicit shape identifier.

Parameters

page OfficeIMO.Visio.VisioPage requiredposition: 0
Page that receives the callout.
target OfficeIMO.Visio.VisioShape requiredposition: 1
Shape being annotated.
id System.String requiredposition: 2
Callout shape identifier.
text System.String requiredposition: 3
Callout text.
pinX System.Double requiredposition: 4
Callout pin X coordinate.
pinY System.Double = 0.35 optionalposition: 5
Callout pin Y coordinate.
options OfficeIMO.Visio.VisioCalloutOptions = null optionalposition: 6
Optional callout options.
AddCallout(OfficeIMO.Visio.VisioPage page, OfficeIMO.Visio.VisioShape target, System.String id, System.String text, OfficeIMO.Visio.VisioSide placement, System.Double gap, OfficeIMO.Visio.VisioCalloutOptions options) #

Adds a callout on a target side using an explicit shape identifier.

Parameters

page OfficeIMO.Visio.VisioPage required
Page that receives the callout.
target OfficeIMO.Visio.VisioShape required
Shape being annotated.
id System.String required
Callout shape identifier.
text System.String required
Callout text.
placement OfficeIMO.Visio.VisioSide required
Side of the target where the callout should be placed.
gap System.Double required
Distance between the target edge and callout edge, in page units.
options OfficeIMO.Visio.VisioCalloutOptions required
Optional callout options.