Enum LinkType
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
LinkType
Jenis Link
.
Untuk memanggil enum, Anda memanggil class induk, nama, dan propertinya. Misalnya,
SlidesApp.LinkType.URL
.
Properti
Properti | Jenis | Deskripsi |
UNSUPPORTED | Enum | Jenis link yang tidak didukung. |
URL | Enum | Link ke halaman web eksternal. |
SLIDE_POSITION | Enum | Link ke slide tertentu dalam presentasi ini, yang dialamatkan berdasarkan posisinya. |
SLIDE_ID | Enum | Link ke slide tertentu dalam presentasi ini, yang dialamatkan dengan ID-nya. |
SLIDE_INDEX | Enum | Link ke slide tertentu dalam presentasi ini, yang ditangani oleh indeks berbasis nol. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]