Share via


CalloutFormat.AutoLength Property

Applies only to callouts whose lines consist of more than one segment (types msoCalloutThree and msoCalloutFour).

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

Syntax

'Declaration
ReadOnly Property AutoLength As MsoTriState
    Get
'Usage
Dim instance As CalloutFormat
Dim value As MsoTriState

value = instance.AutoLength
MsoTriState AutoLength { get; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

MsoTriState can be one of these MsoTriState constants:

msoCTrue

msoFalse The first segment of the callout retains the fixed length specified by the Length property whenever the callout is moved.

msoTriStateMixed

msoTriStateToggle

msoTrue The first segment of the callout line (the segment attached to the text callout box) is scaled automatically whenever the callout is moved.

Use the AutomaticLength method to set this property to msoTrue, and use the CustomLength method to set this property to msoFalse.

See Also

Reference

CalloutFormat Interface

CalloutFormat Members

Microsoft.Office.Interop.Excel Namespace