Table of contents
TOC
Collapse the table of content
Expand the table of content

CalloutFormat.AutoLength Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Determines whether the first segment of the callout retains the fixed length specified by the Length property, or is scaled automatically, whenever the callout is moved. Read-only.

Syntax

expression. AutoLength

expression A variable that represents an CalloutFormat object.

Return Value

MsoTriState

Remarks

This property is read-only. However, you can use the AutomaticLength method to set this property to msoTrue and the CustomLength method to set this property to msoFalse.

The value returned by the AutoLength property can be one of these MsoTriState constants. This property applies only to callouts whose lines consist of more than one segment (types msoCalloutThree and msoCalloutFour ).

ConstantDescription
msoFalseThe first segment of the callout retains the fixed length specified by the Length property whenever the callout is moved.
msoTrueThe first segment of the callout line (the segment attached to the text callout box) is scaled automatically whenever the callout is moved.

Example

This example switches 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.

Set myDocument = ActivePresentation.Slides(1)

With myDocument.Shapes(1).Callout

    If .AutoLength Then

        .CustomLength 50

    Else

        .AutomaticLength

    End If

End With

See also

Concepts

CalloutFormat Object

© 2018 Microsoft