Table of contents
TOC
折叠目录
展开目录

Shape.LinkFormat 属性 (发布服务器)Shape.LinkFormat Property (Publisher)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回LinkFormat对象,该对象包含链接的 OLE 对象所特有的属性。只读的。Returns a LinkFormatobject that contains the properties that are unique to linked OLE objects. Read-only.

语法Syntax

表达式LinkFormatexpression. LinkFormat

表示形状对象的 _expression_A 变量。_expression_A variable that represents a Shape object.

示例Example

以下示例更新当前出版物的第一页上的任何 OLE 对象与其源文件的链接。This example updates the links between any OLE objects on page one in the active publication and their source files.

Dim sh As Shape 

For Each sh In ActiveDocument.Pages(1).Shapes 
 If sh.Type = pbLinkedOLEObject Then 
 With sh.LinkFormat 
 .Update 
 End With 
 End If 
Next
© 2018 Microsoft