Share via


CalloutFormat.AutomaticLength Method

Specifies that the first segment of the callout line (the segment attached to the text callout box) be scaled automatically when the callout is moved.

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

Syntax

'Declaration
Sub AutomaticLength
'Usage
Dim instance As CalloutFormat

instance.AutomaticLength()
void AutomaticLength()

Remarks

The AutomaticLength method applies only to callouts whose lines consist of more than one segment (types msoCalloutThree and msoCalloutFour).

Use the CustomLength method to specify that the first segment of the callout line retains the fixed length returned by the Length property whenever the callout is moved.

Applying this method sets the AutoLength property to True.

See Also

Reference

CalloutFormat Interface

CalloutFormat Members

Microsoft.Office.Interop.Excel Namespace