CalloutFormat.Gap property (Word)

Returns or sets the horizontal distance (in points) between the end of the callout line and the text bounding box. Read/write Single.

Syntax

expression.Gap

expression A variable that represents a 'CalloutFormat' object.

Example

This example sets the distance between the callout line and the text bounding box to 3 points for the first shape on the active document. For the example to work, the first shape must be a callout.

Dim docActive As Document 
 
Set docActive = ActiveDocument 
docActive.Shapes(1).Callout.Gap = 3

See also

CalloutFormat Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.