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