返回或设置标注线的角度。如果标注线包含若干条线段,本属性返回或设置与标注文本框距离最远的线段的角度。 MsoCalloutAngleType 类型,可读写。
MsoCalloutAngleType 可为以下 MsoCalloutAngleType 常量之一。 |
msoCalloutAngle30 |
msoCalloutAngle45 |
msoCalloutAngle60 |
msoCalloutAngle90 |
msoCalloutAngleAutomatic |
msoCalloutAngleMixed |
expression.Angle
expression 必需。该表达式返回“应用于”列表中的对象之一。
如果将本属性设置为除 msoCalloutAngleAutomatic 之外的其他值,那么拖动标注时,标注线的角度将保持不变。
本示例将 myDocument
上的标注“callout1”的标注线角度设置为 90 度。
Set myDocument = Worksheets(1)
myDocument.Shapes("callout1").Callout.Angle = msoCalloutAngle90