Compartilhar via


CalloutFormat.CustomLength Method

Specifies that the first segment of the callout line (the segment attached to the text callout box) retains a fixed length whenever the callout is moved.

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

Syntax

'Declaration
Sub CustomLength ( _
    Length As Single _
)
'Usage
Dim instance As CalloutFormat
Dim Length As Single

instance.CustomLength(Length)
void CustomLength(
    float Length
)

Parameters

  • Length
    Type: System.Single

    Required Single. The length of the first segment of the callout in points.

Remarks

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

Use the AutomaticLength method to specify that the first segment of the callout line be scaled automatically whenever the callout is moved.

Applying this method sets the AutoLength property to False and sets the Length property to the value specified for the Length argument.

See Also

Reference

CalloutFormat Interface

CalloutFormat Members

Microsoft.Office.Interop.Excel Namespace