Class PageElementRange
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.
PageElementRange
Một tập hợp gồm một hoặc nhiều thực thể PageElement
.
Tài liệu chi tiết
getPageElements()
Trả về danh sách các thực thể PageElement
.
Cầu thủ trả bóng
PageElement[]
Ủ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\u003e\u003ccode\u003ePageElementRange\u003c/code\u003e is a collection of one or more \u003ccode\u003ePageElement\u003c/code\u003e instances within Google Slides.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a method, \u003ccode\u003egetPageElements()\u003c/code\u003e, to retrieve a list of all individual \u003ccode\u003ePageElement\u003c/code\u003e instances it contains.\u003c/p\u003e\n"],["\u003cp\u003eUsing this class requires authorization with specific Google Slides scopes for script execution.\u003c/p\u003e\n"]]],[],null,["# Class PageElementRange\n\nPageElementRange\n\nA collection of one or more [PageElement](/apps-script/reference/slides/page-element) instances. \n\n### Methods\n\n| Method | Return type | Brief description |\n|-----------------------------------------|-------------------------------------------------------------|------------------------------------------------------------------------------------------|\n| [getPageElements()](#getPageElements()) | [PageElement[]](/apps-script/reference/slides/page-element) | Returns the list of [PageElement](/apps-script/reference/slides/page-element) instances. |\n\nDetailed documentation\n----------------------\n\n### `get``Page``Elements()`\n\nReturns the list of [PageElement](/apps-script/reference/slides/page-element) instances.\n\n#### Return\n\n\n[PageElement[]](/apps-script/reference/slides/page-element)\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`"]]