Enum LinkType
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Тип ссылки Типы Link
.
Чтобы вызвать перечисление, вы вызываете его родительский класс, имя и свойство. Например, SlidesApp.LinkType.URL
.
Характеристики
Свойство | Тип | Описание |
---|
UNSUPPORTED | Enum | Тип ссылки, который не поддерживается. |
URL | Enum | Ссылка на внешнюю веб-страницу. |
SLIDE_POSITION | Enum | Ссылка на конкретный слайд в этой презентации, соответствующий его позиции. |
SLIDE_ID | Enum | Ссылка на конкретный слайд в этой презентации, адресованный по его идентификатору. |
SLIDE_INDEX | Enum | Ссылка на конкретный слайд в этой презентации, индекс которого начинается с нуля. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 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. |"]]