Share via


CalloutFormat.Angle Property

Returns or sets the angle of the callout line.

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

Syntax

'Declaration
Property Angle As MsoCalloutAngleType
    Get
    Set
'Usage
Dim instance As CalloutFormat
Dim value As MsoCalloutAngleType

value = instance.Angle

instance.Angle = value
MsoCalloutAngleType Angle { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoCalloutAngleType

Remarks

If the callout line contains more than one line segment, the Angle property returns or sets the angle of the segment that is farthest from the callout text box.

MsoCalloutAngleType can be one of these MsoCalloutAngleType constants:

msoCalloutAngle30

msoCalloutAngle45

msoCalloutAngle60

msoCalloutAngle90

msoCalloutAngleAutomatic

msoCalloutAngleMixed

If you set the value of this property to anything other than msoCalloutAngleAutomatic, the callout line maintains a fixed angle as you drag the callout.

See Also

Reference

CalloutFormat Interface

CalloutFormat Members

Microsoft.Office.Interop.Excel Namespace