返回
CalloutFormat
对象,该对象包含指定图形的标注格式属性。只读。
语法
表达式.Callout
表达式 一个代表 Shape
对象的变量。
说明
该属性应用于代表标注的 Shape 对象。
示例
该示例在 myDocument 中添加一个椭圆和一个指向椭圆的标注。标注文本不带有边框,但有一条强调线将文本和标注线隔开。
示例代码 |
let Mydocument = ActiveDocument.Shapes
Mydocument.AddShape(msoShapeOval, 180, 200, 280, 130)
let myDocument = Mydocument.AddCallout(msoCalloutTwo, 420, 170, 170, 40)
myDocument.TextFrame.TextRange.Text = "My oval"
let newmyDocument = myDocument.Callout
newmyDocument.Accent = true
newmyDocument.Border = false
|