Partager via


CalloutFormat.DropType Property

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

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

Syntax

'Declaration
ReadOnly Property DropType As MsoCalloutDropType
    Get
'Usage
Dim instance As CalloutFormat
Dim value As MsoCalloutDropType

value = instance.DropType
MsoCalloutDropType DropType { get; }

Property Value

Type: Microsoft.Office.Core.MsoCalloutDropType

Remarks

MsoCalloutDropType can be one of these MsoCalloutDropType constants:

msoCalloutDropCenter

msoCalloutDropMixed

msoCalloutDropBottom

msoCalloutDropCustom

msoCalloutDropTop

If the callout drop type is msoCalloutDropCustom, the values of the Drop and AutoAttach properties and the relative positions of the callout text box and callout line origin (the place that the callout points to) are used to determine where the callout line attaches to the text box.

Use the PresetDrop method to set the value of this property.

See Also

Reference

CalloutFormat Interface

CalloutFormat Members

Microsoft.Office.Interop.Excel Namespace