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, Double pinX, Double pinY, 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 requiredposition: 4
Callout pin Y coordinate.
options OfficeIMO.Visio.VisioCalloutOptions = null optionalposition: 5
Optional callout options.
public static VisioShape AddCallout(VisioPage page, VisioShape target, String text, VisioSide placement, Double gap = 0.35, VisioCalloutOptions options = null) #
Returns: VisioShape

Adds a callout on a target side 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.
placement OfficeIMO.Visio.VisioSide requiredposition: 3
Side of the target where the callout should be placed.
gap System.Double = 0.35 optionalposition: 4
Distance between the target edge and callout edge, in page units.
options OfficeIMO.Visio.VisioCalloutOptions = null optionalposition: 5
Optional callout options.
public static VisioShape AddCallout(VisioPage page, VisioShape target, String id, String text, Double pinX, Double pinY, 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 requiredposition: 5
Callout pin Y coordinate.
options OfficeIMO.Visio.VisioCalloutOptions = null optionalposition: 6
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 on a target side 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.
placement OfficeIMO.Visio.VisioSide requiredposition: 4
Side of the target where the callout should be placed.
gap System.Double = 0.35 optionalposition: 5
Distance between the target edge and callout edge, in page units.
options OfficeIMO.Visio.VisioCalloutOptions = null optionalposition: 6
Optional callout options.