API Reference
Class
VisioCalloutExtensions
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:
VisioShapeAdds a callout near a target shape using an automatically assigned shape identifier.
Parameters
- page OfficeIMO.Visio.VisioPage
- Page that receives the callout.
- target OfficeIMO.Visio.VisioShape
- Shape being annotated.
- text System.String
- Callout text.
- pinX System.Double
- Callout pin X coordinate.
- pinY System.Double = 0.35
- Callout pin Y coordinate.
- options OfficeIMO.Visio.VisioCalloutOptions = null
- 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
- Page that receives the callout.
- target OfficeIMO.Visio.VisioShape
- Shape being annotated.
- text System.String
- Callout text.
- placement OfficeIMO.Visio.VisioSide
- Side of the target where the callout should be placed.
- gap System.Double
- Distance between the target edge and callout edge, in page units.
- options OfficeIMO.Visio.VisioCalloutOptions
- 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:
VisioShapeAdds a callout near a target shape using an explicit shape identifier.
Parameters
- page OfficeIMO.Visio.VisioPage
- Page that receives the callout.
- target OfficeIMO.Visio.VisioShape
- Shape being annotated.
- id System.String
- Callout shape identifier.
- text System.String
- Callout text.
- pinX System.Double
- Callout pin X coordinate.
- pinY System.Double = 0.35
- Callout pin Y coordinate.
- options OfficeIMO.Visio.VisioCalloutOptions = null
- 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
- Page that receives the callout.
- target OfficeIMO.Visio.VisioShape
- Shape being annotated.
- id System.String
- Callout shape identifier.
- text System.String
- Callout text.
- placement OfficeIMO.Visio.VisioSide
- Side of the target where the callout should be placed.
- gap System.Double
- Distance between the target edge and callout edge, in page units.
- options OfficeIMO.Visio.VisioCalloutOptions
- Optional callout options.