返回一个 CalloutFormat 对象,该对象包含指定图形的标注格式属性。应用于代表标注的 Shape 或 ShapeRange 对象。只读。
该示例在 myDocument
中添加一个椭圆和一个指向椭圆的标注。标注文本不带有边框,但有一条强调线将文本和标注线隔开。
Set myDocument = ActiveDocument
With myDocument.Shapes
.AddShape msoShapeOval, 180, 200, 280, 130
With .AddCallout(msoCalloutTwo, 420, 170, 170, 40)
.TextFrame.TextRange.Text = "My oval"
With .Callout
.Accent = True
.Border = False
End With
End With
End With