Syntax

expression.AutoLength

expression A variable that represents a CalloutFormat object.

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.

This property is read-only. Use the method to set this property to msoTrue, and use the method to set this property to mosFalse.

Example

This example toggles between an automatically scaling first segment and one with a fixed length for the callout line for shape one on myDocument. For the example to work, shape one must be a callout.

Visual Basic for Applications
Set myDocument = Worksheets(1) With myDocument.Shapes(1).Callout If .AutoLength Then .CustomLength 50 Else .AutomaticLength End If End With
auto length Auto Length Property AutoLength autolength property Check to see if first line segment is fixed length? Determine if callout line length is automatically scaled?

See also: