PageElement 上的连接点,可以连接到 connector。
方法
| 方法 | 返回值类型 | 简介 |
|---|---|---|
get | Integer | 返回连接点的索引。 |
get | Page | 返回连接点所在的 Page。 |
详细文档
getIndex()
返回连接点的索引。在同一页面元素上的所有连接点中,该索引是唯一的。
在大多数情况下,它与 ECMA-376 标准中的预定义连接点索引相对应。如需详细了解这些连接点,请参阅第 20.1.9.9 节和附录 H 中“cnx”属性的说明。“Office Open XML File Formats-Fundamentals and Markup Language Reference”的“Predefined DrawingML Shape and Text Geometries”,ECMA-376 第 5 版第 1 部分 。
返回
Integer - 连接点的索引。
授权
使用此方法编写的脚本需要获得以下一个或多个范围的授权:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
getPageElement()
返回连接点所在的 PageElement。
返回
PageElement - 连接点的页面元素。
授权
使用此方法编写的脚本需要获得以下一个或多个范围的授权:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations