返回一个
LinkFormat 对象,该对象代表链接到文件的形状的链接选项。只读。
语法
表达式.LinkFormat
表达式 一个代表 Shape
对象的变量。
示例
以下示例将一个图形作为内嵌形状插入(使用 INCLUDEPICTURE 域),然后显示其源名称 (Tiles.bmp)。
| 示例代码 |
let iShape = ActiveDocument.InlineShapes.AddPicture("C:\\windows\\Tiles.bmp", true, false, Selection.Range)
MsgBox(iShape.LinkFormat.SourceName)
|