Class CalloutFormat (Word VBA)

Contains properties and methods that apply to line callouts.

Class Shape gives access to class CalloutFormat.


Dim cft as CalloutFormat
Set cft = ActiveDocument.Background.Callout

Methods

CustomDrop - Sets the vertical distance (in points) from the edge of the text bounding box to the place where the callout line attaches to the text box.

CustomLength - Specifies that the first segment of the callout line (the segment attached to the text callout box) retain a fixed length whenever the callout is moved.

PresetDrop - Specifies whether the callout line attaches to the top, bottom, or center of the callout text box or whether it attaches at a point that's a specified distance from the top or bottom of the text box.

Properties

Accent true if a vertical accent bar separates the callout text from the callout line.

Angle returns or sets the angle of the callout line.

AutoLength msoTrue to automatically sets the length of the callout line.

Border returns or sets whether the text in the specified callout is surrounded by a border.

Drop returns the vertical distance (in points) from the edge of the text bounding box to the place where the callout line attaches to the text box.

DropType returns a value that indicates where the callout line attaches to the callout text box.

Gap returns or sets the horizontal distance (in points) between the end of the callout line and the text bounding box.

Length returns the length (in points) of the first segment of the callout line (the segment attached to the text callout box).

Type returns or sets the callout type.