연결 사이트의 색인을 반환합니다. 색인은 동일한 페이지 요소의 모든 연결 사이트 중에서 고유합니다.
대부분의 경우 ECMA-376 표준의 사전 정의된 연결 사이트 색인에 해당합니다. 이러한 연결 사이트에 대한 자세한 내용은 섹션 20.1.9.9 및 부록 H의 'cnx' 속성 설명에서 확인할 수 있습니다. ECMA-376 5판 1부 'Office Open XML 파일 형식 - 기본사항 및 마크업 언어 참조'의 '사전 정의된 DrawingML 도형 및 텍스트 기하학'
[[["이해하기 쉬움","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"]],["최종 업데이트: 2025-08-04(UTC)"],[[["\u003cp\u003eA connection site is a point on a PageElement where a connector can be attached.\u003c/p\u003e\n"],["\u003cp\u003eYou can get the index of a connection site, which is unique within its PageElement, using \u003ccode\u003egetIndex()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetPageElement()\u003c/code\u003e allows you to retrieve the PageElement associated with a specific connection site.\u003c/p\u003e\n"],["\u003cp\u003eConnection sites often correspond to the ECMA-376 standard, allowing compatibility with various applications.\u003c/p\u003e\n"]]],["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"],null,["# Class ConnectionSite\n\nConnectionSite\n\nThe connection site on a `Page``Element` that can connect to a [connector](/apps-script/reference/slides/line#isConnector()). \n\n### Methods\n\n| Method | Return type | Brief description |\n|---------------------------------------|-----------------------------------------------------------|-------------------------------------------------------------|\n| [getIndex()](#getIndex()) | `Integer` | Returns the index of the connection site. |\n| [getPageElement()](#getPageElement()) | [PageElement](/apps-script/reference/slides/page-element) | Returns the `Page``Element` that the connection site is on. |\n\nDetailed documentation\n----------------------\n\n### `get``Index()`\n\nReturns the index of the connection site. The index is unique among all the connection sites on\nthe same page element.\n\nIn most cases, it corresponds to the predefined connection site index from the ECMA-376\nstandard. More information on those connection sites can be found in the description of the\n\"cnx\" attribute in section 20.1.9.9 and Annex H. \"Predefined DrawingML Shape and Text\nGeometries\" of \"Office Open XML File Formats-Fundamentals and Markup Language Reference\", part\n1 of [ECMA-376 5th edition](https://ecma-international.org/publications-and-standards/standards/ecma-376/).\n\n#### Return\n\n\n`Integer` --- The index of the connection site.\n\n#### Authorization\n\nScripts that use this method require authorization with one or more of the following [scopes](/apps-script/concepts/scopes#setting_explicit_scopes):\n\n- `https://www.googleapis.com/auth/presentations.currentonly`\n- `https://www.googleapis.com/auth/presentations`\n\n*** ** * ** ***\n\n### `get``Page``Element()`\n\nReturns the `Page``Element` that the connection site is on.\n\n#### Return\n\n\n[PageElement](/apps-script/reference/slides/page-element) --- The page element of the connection site.\n\n#### Authorization\n\nScripts that use this method require authorization with one or more of the following [scopes](/apps-script/concepts/scopes#setting_explicit_scopes):\n\n- `https://www.googleapis.com/auth/presentations.currentonly`\n- `https://www.googleapis.com/auth/presentations`"]]