Enum SlidePosition
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
SlidePosition
Vị trí tương đối của Slide
.
Để gọi một enum, bạn gọi lớp mẹ, tên và thuộc tính của enum đó. Ví dụ:
SlidesApp.SlidePosition.NEXT_SLIDE
.
Thuộc tính
Thuộc tính | Loại | Mô tả |
NEXT_SLIDE | Enum | Trang trình bày tiếp theo. |
PREVIOUS_SLIDE | Enum | Trang trình bày trước. |
FIRST_SLIDE | Enum | Trang trình bày đầu tiên trong bản trình bày. |
LAST_SLIDE | Enum | Trang trình bày cuối cùng trong bản trình bày. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\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. |"]]