Syntax

expression.PresetDrop(DropType)

expression A variable that represents a CalloutFormat object.

Parameters

Name Required/Optional Data Type Description
DropType Required The starting position of the callout line relative to the text bounding box.

Example

This example specifies that the callout line attach to the top of the text bounding box for shape one on myDocument. For the example to work, shape one must be a callout.

Visual Basic for Applications
Set myDocument = Worksheets(1) myDocument.Shapes(1).Callout.PresetDrop msoCalloutDropTop

This example toggles between two preset drops for shape one on myDocument. For the example to work, shape one must be a callout.

Visual Basic for Applications
Set myDocument = Worksheets(1) With myDocument.Shapes(1).Callout If .DropType = msoCalloutDropTop Then .PresetDrop msoCalloutDropBottom ElseIf .DropType = msoCalloutDropBottom Then .PresetDrop msoCalloutDropTop End If End With
preset preset drop PresetDrop presetdrop method

See also: