Upravit

Sdílet prostřednictvím


CalloutFormat.Angle property (Word)

Returns or sets the angle of the callout line. Read/write MsoCalloutAngleType.

Syntax

expression.Angle

expression A variable that represents a 'CalloutFormat' object.

Remarks

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. 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.

Note

Setting this property to msoCalloutAngleMixed will cause an error. msoCalloutAngleMixed is a return value only. It indicates a combination of the other states.

Example

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

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

See also

CalloutFormat Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.