הפונקציה מחזירה את PageElement שבו נמצא אתר החיבור.
מסמכים מפורטים
getIndex()
הפונקציה מחזירה את המדד של אתר החיבור. האינדקס הוא ייחודי מבין כל אתרי החיבור באותו רכיב דף.
ברוב המקרים, הוא תואם למפתח האתר של החיבור שהוגדר מראש בתקן ECMA-376. מידע נוסף על אתרי החיבור האלה זמין בתיאור המאפיין cnx בקטע 20.1.9.9 ובנספח H. 'גיאומטריות של טקסט וצורה מוגדרות מראש ב-DrawingML', מתוך 'פורמטים של קובצי Office Open XML – יסודות ומסמך עזר בנושא שפת סימון', חלק 1 של ECMA-376 מהדורה 5.
חזרה
Integer – האינדקס של אתר החיבור.
אישור
סקריפטים שמשתמשים בשיטה הזו דורשים הרשאה עם אחד או יותר מהיקפי הגישה הבאים:
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 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"]]