Share via


Gap Property [Publisher 2003 VBA Language Reference]

Returns or sets a Variant indicating the horizontal distance between the end of the callout line and the text bounding box. Read/write.

expression.Gap

expression Required. An expression that returns one of the objects in the Applies To list.

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

Applies to | CalloutFormat Object