Excel.Interfaces.WorkbookUpdateData interface

一个用于更新工作簿对象上的数据的接口, 可用于 "工作簿。 set (An interface for updating data on the Workbook object, for use in "workbook.set({ ... })".

属性

chartDataPointTrack

如果工作簿中的所有图表都跟踪它们所附加的实际数据点,则为 True。True if all charts in the workbook are tracking the actual data points to which they are attached. 假如果图表跟踪数据点的索引。False if the charts track the index of the data points.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

isDirty

指定自上次保存以来是否对指定的工作簿进行任何更改。Specifies whether or not changes have been made since the workbook was last saved. 如果要关闭修改过的工作簿而不保存或提示保存它, 则可以将该属性设置为 true。You can set this property to true if you want to close a modified workbook without either saving it or being prompted to save it.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

properties

获取工作簿属性。Gets the workbook properties.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

use1904DateSystem

如果工作簿使用 1904 日期系统,则为 True。True if the workbook uses the 1904 date system.

[API 集: EXCELAPI BETA (仅限预览)][ API set: ExcelApi BETA (PREVIEW ONLY) ]

usePrecisionAsDisplayed

如果此工作簿中的计算仅使用显示的数字精度来完成,则为 True。True if calculations in this workbook will be done using only the precision of the numbers as they're displayed. 将此属性从 false 切换到 true 时, 数据将永久丢失精度。Data will permanently lose accuracy when switching this property from false to true.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

属性详细信息

chartDataPointTrack

如果工作簿中的所有图表都跟踪它们所附加的实际数据点,则为 True。True if all charts in the workbook are tracking the actual data points to which they are attached. 假如果图表跟踪数据点的索引。False if the charts track the index of the data points.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

chartDataPointTrack?: boolean;

属性值

boolean

isDirty

指定自上次保存以来是否对指定的工作簿进行任何更改。Specifies whether or not changes have been made since the workbook was last saved. 如果要关闭修改过的工作簿而不保存或提示保存它, 则可以将该属性设置为 true。You can set this property to true if you want to close a modified workbook without either saving it or being prompted to save it.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

isDirty?: boolean;

属性值

boolean

properties

获取工作簿属性。Gets the workbook properties.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

properties?: Excel.Interfaces.DocumentPropertiesUpdateData;

属性值

use1904DateSystem

备注

此 API 以预览状态提供给开发者,可能根据我们收到的反馈更改。 请勿在生产环境中使用此 API。

如果工作簿使用 1904 日期系统,则为 True。True if the workbook uses the 1904 date system.

[API 集: EXCELAPI BETA (仅限预览)][ API set: ExcelApi BETA (PREVIEW ONLY) ]

use1904DateSystem?: boolean;

属性值

boolean

usePrecisionAsDisplayed

如果此工作簿中的计算仅使用显示的数字精度来完成,则为 True。True if calculations in this workbook will be done using only the precision of the numbers as they're displayed. 将此属性从 false 切换到 true 时, 数据将永久丢失精度。Data will permanently lose accuracy when switching this property from false to true.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

usePrecisionAsDisplayed?: boolean;

属性值

boolean