Share via


CalloutFormat.Angle Property

Returns or sets the angle of the callout line. If the callout line contains more than one line segment, this property returns or sets the angle of the segment that is farthest from the callout text box. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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
MsoCalloutAngleType

Remarks

The value of the Angle property can be one of these MsoCalloutAngleType constants.

Constant

Description

msoCalloutAngle30

msoCalloutAngle45

msoCalloutAngle60

msoCalloutAngle90

msoCalloutAngleAutomatic

The callout line maintains a fixed angle as you drag the callout.

msoCalloutAngleMixed

Examples

This example sets to 90 degrees the callout angle for a callout named "co1" on myDocument.

Set myDocument = ActivePresentation.Slides(1)

myDocument.Shapes("co1").Callout.Angle= msoCalloutAngle90

See Also

Reference

CalloutFormat Interface

CalloutFormat Members

Microsoft.Office.Interop.PowerPoint Namespace