Share via


CalloutFormat.PresetDrop Method

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.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Sub PresetDrop ( _
    DropType As MsoCalloutDropType _
)
'Usage
Dim instance As CalloutFormat
Dim DropType As MsoCalloutDropType

instance.PresetDrop(DropType)
void PresetDrop(
    MsoCalloutDropType DropType
)

Parameters

  • DropType
    Type: Microsoft.Office.Core.MsoCalloutDropType

    Required MsoCalloutDropType. The starting position of the callout line relative to the text bounding box. Can be one of these MsoCalloutDropType constants:

    msoCalloutDropBottom

    msoCalloutDropCenter

    msoCalloutDropCustom Specifying msoCalloutDropCustom for this argument will cause your code to fail.

    msoCalloutDropMixed

    msoCalloutDropTop

See Also

Reference

CalloutFormat Interface

CalloutFormat Members

Microsoft.Office.Interop.Excel Namespace