返回
LinkFormat 对象,包含链接的 OLE 对象特有的属性。只读。
语法
表达式.LinkFormat
表达式 一个代表 Shape 对象的变量。
返回值
LinkFormat
示例
以下示例更新当前演示文稿内第一张幻灯片上的任何 OLE 对象与其源文件之间的链接。
示例代码 |
let sh = ActivePresentation.Slides.Item(1).Shapes
for(let i = 1; i <= sh.Count; i++){
if(sh.Item(i).Type == msoLinkedOLEObject){
sh.Item(i).LinkFormat.Update()
}
}
|