Class ConnectionSite
詳細なドキュメント
getIndex()
接続サイトのインデックスを返します。インデックスは、同じページ要素のすべての接続サイトで一意です。
ほとんどの場合、これは ECMA-376 規格の事前定義された接続サイト インデックスに対応しています。これらの接続サイトの詳細については、セクション 20.1.9.9 と Annex H の「cnx」属性の説明をご覧ください。「Office Open XML File Formats - Fundamentals and Markup Language Reference」の「Predefined DrawingML Shape and Text Geometries」(ECMA-376 第 5 版のパート 1)
戻る
Integer
- 接続サイトのインデックス。
承認
このメソッドを使用するスクリプトには、次のスコープの 1 つ以上による承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
getPageElement()
接続サイトが存在する PageElement
を返します。
戻る
PageElement
- 接続先サイトのページ要素。
承認
このメソッドを使用するスクリプトには、次のスコープの 1 つ以上による承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-02 UTC。
[null,null,["最終更新日 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"]]