Share via


CalloutFormat.Angle Property

PowerPoint Developer Reference

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.

Syntax

expression.Angle

expression   A variable that represents an CalloutFormat object.

Return Value
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

Example

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

Visual Basic for Applications
  Set myDocument = ActivePresentation.Slides(1)
myDocument.Shapes("co1").Callout.Angle = msoCalloutAngle90

See Also