Export (0) Print
Expand All
Expand Minimize

Shape.CalloutTarget Property (Visio)

Gets or sets the target shape that is associated with the callout shape by a callout relationship. Read/write.

Version Added: Visio 2010

expression .CalloutTarget

expression A variable that represents a Shape object.

Return Value

Shape

If you attempt to get or set the CalloutTarget property value on a shape that is not a callout, Microsoft Visio will return an Inappropriate Source Object error.

If no target shape is associated with the callout shape, the CalloutTarget property returns Nothing. Setting the property value to Nothing removes any target shapes that are associated with the callout shape.

The following Visual Basic for Applications (VBA) example shows how to use the CalloutTarget property to set the target shape of a callout.

Set vsoShape = vsoCalloutShape.CalloutTarget
Show:
© 2014 Microsoft