Enum AutoFillSeries
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
自動填入系列叢書列舉用於計算自動填入值的序列類型。這些序列對計算值的影響方式會因來源資料的類型和數量而異。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
SpreadsheetApp.AutoFillSeries.DEFAULT_SERIES
。
屬性
屬性 | 類型 | 說明 |
DEFAULT_SERIES | Enum | 預設。使用這項設定進行自動填入時,系統會以現有值的增量填入展開範圍中的空白儲存格。 |
ALTERNATE_SERIES | Enum | 使用這項設定進行自動填入時,系統會將現有值的副本填入展開範圍中的空白儲存格。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]