CalloutFormat.Gap property (Publisher)
Returns or sets a Variant indicating the horizontal distance between the end of the callout line and the text bounding box. Read/write.
Syntax
expression.Gap
expression A variable that represents a CalloutFormat object.
Return value
Variant
Remarks
Numeric values are evaluated in points; strings can be in any units supported by Microsoft Publisher (for example, "2.5 in").
Example
This example sets the distance between the callout line and the text bounding box to 3 points for the first shape in the active publication. For the example to work, the shape must be a callout.
ActiveDocument.Pages(1).Shapes(1).Callout.Gap = 3
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.