Share via


CalloutFormat.Gap Property

Publisher Developer Reference

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 Office 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.

Visual Basic for Applications
  ActiveDocument.Pages(1).Shapes(1).Callout.Gap = 3

See Also