The connection site on a Page
that can connect to a connector
.
Methods
Method | Return type | Brief description |
---|---|---|
get | Integer | Returns the index of the connection site. |
get | Page | Returns the Page that the connection site is on. |
Detailed documentation
getIndex()
Returns the index of the connection site. The index is unique among all the connection sites on the same page element.
In most cases, it corresponds to the predefined connection site index from the ECMA-376 standard. More information on those connection sites can be found in the description of the "cnx" attribute in section 20.1.9.9 and Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open XML File Formats-Fundamentals and Markup Language Reference", part 1 of ECMA-376 5th edition.
Return
Integer
— The index of the connection site.
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
getPageElement()
Returns the Page
that the connection site is on.
Return
Page
— The page element of the connection site.
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations