Enum LinkType
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
リンクタイプLink
のタイプ。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
SlidesApp.LinkType.URL
です。
プロパティ
プロパティ | タイプ | 説明 |
UNSUPPORTED | Enum | サポートされていないリンクタイプ。 |
URL | Enum | 外部ウェブページへのリンク。 |
SLIDE_POSITION | Enum | このプレゼンテーション内の特定のスライドへのリンク(位置で指定)。 |
SLIDE_ID | Enum | このプレゼンテーション内の特定のスライドへのリンク(ID で指定)。 |
SLIDE_INDEX | Enum | このプレゼンテーション内の特定のスライドへのリンク(ゼロベースのインデックスで指定)。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003e\u003ccode\u003eLinkType\u003c/code\u003e in Google Slides API refers to the type of link associated with an object, such as a shape or text box.\u003c/p\u003e\n"],["\u003cp\u003eThe available link types include external web page links (\u003ccode\u003eURL\u003c/code\u003e), links to specific slides within the presentation by position (\u003ccode\u003eSLIDE_POSITION\u003c/code\u003e), ID (\u003ccode\u003eSLIDE_ID\u003c/code\u003e), or index (\u003ccode\u003eSLIDE_INDEX\u003c/code\u003e), along with an unsupported type (\u003ccode\u003eUNSUPPORTED\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eYou can use these link types with the \u003ccode\u003eSlidesApp.LinkType\u003c/code\u003e enum when scripting in Google Apps Script.\u003c/p\u003e\n"]]],[],null,["# Enum LinkType\n\nLinkType\n\nThe types of a [Link](/apps-script/reference/slides/link).\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.LinkType.URL`. \n\n### Properties\n\n| Property | Type | Description |\n|------------------|--------|-------------------------------------------------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A link type that is not supported. |\n| `URL` | `Enum` | A link to an external web page. |\n| `SLIDE_POSITION` | `Enum` | A link to a specific slide in this presentation, addressed by its position. |\n| `SLIDE_ID` | `Enum` | A link to a specific slide in this presentation, addressed by its ID. |\n| `SLIDE_INDEX` | `Enum` | A link to a specific slide in this presentation, addressed by its zero-based index. |"]]