The connection site on a PageElement
that can connect to a connector
.
Methods
Method | Return type | Brief description |
---|---|---|
getIndex() | Integer | Returns the index of the connection site. |
getPageElement() | PageElement | Returns the PageElement 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 PageElement
that the connection site is on.
Return
PageElement
— 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