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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-02 UTC."],[[["A connection site is a point on a PageElement where a connector can be attached."],["You can get the index of a connection site, which is unique within its PageElement, using `getIndex()`."],["`getPageElement()` allows you to retrieve the PageElement associated with a specific connection site."],["Connection sites often correspond to the ECMA-376 standard, allowing compatibility with various applications."]]],["A `ConnectionSite` on a `PageElement` can connect to a connector. It offers two methods: `getIndex()` and `getPageElement()`. `getIndex()` returns the site's unique index as an `Integer`, corresponding to the ECMA-376 standard. `getPageElement()` returns the `PageElement` the connection site belongs to. Both methods require specific authorization scopes like `presentations.currentonly` or `presentations`. The index is unique within the element's connection sites.\n"]]