Enum AutoFillSeries
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
自动填充系列
用于计算自动填充值的系列类型的枚举。这些系列对计算值的影响方式因源数据的类型和数量而异。
如需调用枚举,您可以调用其父类、名称和属性。例如
SpreadsheetApp.AutoFillSeries.DEFAULT_SERIES
。
属性
属性 | 类型 | 说明 |
DEFAULT_SERIES | Enum | 默认。使用此设置进行自动填充会导致展开的范围中的空白单元格填充现有值的增量。 |
ALTERNATE_SERIES | Enum | 使用此设置进行自动填充会导致展开的范围中的空单元格填充现有值的副本。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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. |"]]