Enum AutoFillSeries
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
AutoFillSeries
การแจกแจงประเภทชุดค่าที่ใช้คํานวณค่าที่ป้อนอัตโนมัติ ลักษณะที่ชุดเหล่านี้ส่งผลต่อค่าที่คำนวณได้จะแตกต่างกันไปตามประเภทและปริมาณของข้อมูลต้นทาง
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
SpreadsheetApp.AutoFillSeries.DEFAULT_SERIES
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
DEFAULT_SERIES | Enum | ค่าเริ่มต้น การเติมอัตโนมัติด้วยการตั้งค่านี้จะทําให้เซลล์ว่างในช่วงที่ขยายเพิ่มได้รับการเติมค่าที่เพิ่มขึ้นจากค่าที่มีอยู่ |
ALTERNATE_SERIES | Enum | การเติมอัตโนมัติด้วยการตั้งค่านี้จะทําให้เซลล์ว่างในช่วงที่ขยายมีสำเนาของค่าที่มีอยู่ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003eAutoFillSeries\u003c/code\u003e is used to determine how values are automatically filled in Google Sheets.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two options: \u003ccode\u003eDEFAULT_SERIES\u003c/code\u003e which fills cells with incremental values based on existing data, and \u003ccode\u003eALTERNATE_SERIES\u003c/code\u003e which copies existing values to fill the range.\u003c/p\u003e\n"],["\u003cp\u003eTo use \u003ccode\u003eAutoFillSeries\u003c/code\u003e, call its parent class, name, and property, such as \u003ccode\u003eSpreadsheetApp.AutoFillSeries.DEFAULT_SERIES\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum AutoFillSeries\n\nAutoFillSeries\n\nAn enumeration of the types of series used to calculate auto-filled values. The manner in which\nthese series affect calculated values differs depending on the type and amount of source data.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.AutoFillSeries.DEFAULT_SERIES`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------------|--------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| `DEFAULT_SERIES` | `Enum` | Default. Auto-filling with this setting results in the empty cells in the expanded range being filled with increments of the existing values. |\n| `ALTERNATE_SERIES` | `Enum` | Auto-filling with this setting results in the empty cells in the expanded range being filled with copies of the existing values. |"]]