返回或设置目标文档的 Internet 地址 (URL)。可读/写
String 类型。
语法
表达式.Address
表达式 一个代表 Hyperlink 对象的变量。
返回值
String
示例
本示例浏览第一张幻灯片中的所有形状,以查找指向 网站的 URL。
示例代码 |
let myDocument = ActivePresentation.Slides.Item(1)
for(let i=1;i<=myDocument.Hyperlinks.count;i++) {
if(myDocument.Hyperlinks.Item(i).Address == "http://www.wps.cn/") {
MsgBox ("You have a link to the Home Page")
}
}
|