Enum SlidePosition
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
滑動位置
Slide
的相對位置。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
SlidesApp.SlidePosition.NEXT_SLIDE
。
屬性
屬性 | 類型 | 說明 |
NEXT_SLIDE | Enum | 下一張投影片。 |
PREVIOUS_SLIDE | Enum | 上一張投影片。 |
FIRST_SLIDE | Enum | 簡報的第一張投影片。 |
LAST_SLIDE | Enum | 簡報中的最後一張投影片。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eSlidePosition\u003c/code\u003e determines the relative position of a slide within a Google Slides presentation.\u003c/p\u003e\n"],["\u003cp\u003eYou can use properties like \u003ccode\u003eNEXT_SLIDE\u003c/code\u003e, \u003ccode\u003ePREVIOUS_SLIDE\u003c/code\u003e, \u003ccode\u003eFIRST_SLIDE\u003c/code\u003e, and \u003ccode\u003eLAST_SLIDE\u003c/code\u003e to specify the desired slide position.\u003c/p\u003e\n"],["\u003cp\u003eTo reference a specific slide position, use the syntax \u003ccode\u003eSlidesApp.SlidePosition.PROPERTY_NAME\u003c/code\u003e, for example, \u003ccode\u003eSlidesApp.SlidePosition.FIRST_SLIDE\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum SlidePosition\n\nSlidePosition\n\nThe relative position of a [Slide](/apps-script/reference/slides/slide).\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.SlidePosition.NEXT_SLIDE`. \n\n### Properties\n\n| Property | Type | Description |\n|------------------|--------|--------------------------------------|\n| `NEXT_SLIDE` | `Enum` | The next slide. |\n| `PREVIOUS_SLIDE` | `Enum` | The previous slide. |\n| `FIRST_SLIDE` | `Enum` | The first slide in the presentation. |\n| `LAST_SLIDE` | `Enum` | The last slide in the presentation. |"]]