CalloutFormat.DropType Property
Excel Developer Reference |
Returns a value that indicates where the callout line attaches to the callout text box. Read-only MsoCalloutDropType.
Syntax
expression.DropType
expression A variable that represents a CalloutFormat object.
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.
This property is read-only. Use the PresetDrop method to set the value of this property.
Example
This example replaces the custom drop for shape one on myDocument
with one of two preset drops, depending on whether the custom drop value is greater than or less than half the height of the callout text box. For the example to work, shape one must be a callout.
Visual Basic for Applications |
---|
|
See Also