Class PageRange
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.
PageRange
Một tập hợp gồm một hoặc nhiều thực thể Page
.
Tài liệu chi tiết
getPages()
Trả về danh sách các thực thể Page
.
Cầu thủ trả bóng
Page[]
Ủy quyền
Các tập lệnh sử dụng phương thức này yêu cầu được uỷ quyền với một hoặc nhiều phạm vi sau:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
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\u003ePageRange represents a collection of one or more Google Slides Page instances.\u003c/p\u003e\n"],["\u003cp\u003eIt has a single method, \u003ccode\u003egetPages()\u003c/code\u003e, which returns a list of all Page instances within the PageRange.\u003c/p\u003e\n"],["\u003cp\u003eUsing \u003ccode\u003egetPages()\u003c/code\u003e requires authorization with specific Google Slides scopes.\u003c/p\u003e\n"]]],[],null,["# Class PageRange\n\nPageRange\n\nA collection of one or more [Page](/apps-script/reference/slides/page) instances. \n\n### Methods\n\n| Method | Return type | Brief description |\n|---------------------------|----------------------------------------------|---------------------------------------------------------------------------|\n| [getPages()](#getPages()) | [Page[]](/apps-script/reference/slides/page) | Returns the list of [Page](/apps-script/reference/slides/page) instances. |\n\nDetailed documentation\n----------------------\n\n### `get``Pages()`\n\nReturns the list of [Page](/apps-script/reference/slides/page) instances.\n\n#### Return\n\n\n[Page[]](/apps-script/reference/slides/page)\n\n#### Authorization\n\nScripts that use this method require authorization with one or more of the following [scopes](/apps-script/concepts/scopes#setting_explicit_scopes):\n\n- `https://www.googleapis.com/auth/presentations.currentonly`\n- `https://www.googleapis.com/auth/presentations`"]]