Enum AutoFillSeries
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.
AutoFillSeries
Liệt kê các loại chuỗi dùng để tính toán giá trị tự động điền. Cách các chuỗi này ảnh hưởng đến giá trị được tính toán sẽ khác nhau tuỳ thuộc vào loại và lượng dữ liệu nguồn.
Để gọi một enum, bạn gọi lớp mẹ, tên và thuộc tính của enum đó. Ví dụ:
SpreadsheetApp.AutoFillSeries.DEFAULT_SERIES
.
Thuộc tính
Thuộc tính | Loại | Mô tả |
DEFAULT_SERIES | Enum | Mặc định. Khi tự động điền bằng chế độ cài đặt này, các ô trống trong dải ô mở rộng sẽ được điền bằng các giá trị tăng dần của các giá trị hiện có. |
ALTERNATE_SERIES | Enum | Khi tự động điền bằng chế độ cài đặt này, các ô trống trong dải ô mở rộng sẽ được điền bằng bản sao của các giá trị hiện có. |
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\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. |"]]