Table of contents
TOC
Collapse the table of content
Expand the table of content

Shape.CalloutTarget Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression . CalloutTarget

expression A variable that represents a Shape object.

Return Value

Shape

Remarks

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.

Example

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
© 2017 Microsoft