Class TableCellRange
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
TableCellRange
คอลเล็กชันอินสแตนซ์ TableCell
อย่างน้อย 1 รายการ
เอกสารประกอบโดยละเอียด
getTableCells()
แสดงรายการอินสแตนซ์ TableCell
รีเทิร์น
TableCell[]
การให้สิทธิ์
สคริปต์ที่ใช้วิธีการนี้ต้องได้รับอนุญาตด้วยขอบเขตต่อไปนี้อย่างน้อย 1 รายการ
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003eTableCellRange\u003c/code\u003e represents a group of one or more \u003ccode\u003eTableCell\u003c/code\u003e objects within a Google Slide.\u003c/p\u003e\n"],["\u003cp\u003eThe primary method, \u003ccode\u003egetTableCells()\u003c/code\u003e, retrieves an array of individual \u003ccode\u003eTableCell\u003c/code\u003e objects contained within the range.\u003c/p\u003e\n"],["\u003cp\u003eTo use the \u003ccode\u003eTableCellRange\u003c/code\u003e methods, your script needs authorization with specific Google Slides scopes.\u003c/p\u003e\n"]]],["TableCellRange is a collection of TableCell instances. The key action is retrieving these instances using the `getTableCells()` method. This method returns an array of TableCell objects. To use this method, scripts require authorization with either `https://www.googleapis.com/auth/presentations.currentonly` or `https://www.googleapis.com/auth/presentations` scopes. The method documentation details its return type and necessary authorization.\n"],null,["# Class TableCellRange\n\nTableCellRange\n\nA collection of one or more [TableCell](/apps-script/reference/slides/table-cell) instances. \n\n### Methods\n\n| Method | Return type | Brief description |\n|-------------------------------------|---------------------------------------------------------|--------------------------------------------------------------------------------------|\n| [getTableCells()](#getTableCells()) | [TableCell[]](/apps-script/reference/slides/table-cell) | Returns the list of [TableCell](/apps-script/reference/slides/table-cell) instances. |\n\nDetailed documentation\n----------------------\n\n### `get``Table``Cells()`\n\nReturns the list of [TableCell](/apps-script/reference/slides/table-cell) instances.\n\n#### Return\n\n\n[TableCell[]](/apps-script/reference/slides/table-cell)\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`"]]