Excel.ChartDeletedEventArgs interface

提供有关引发了已删除事件的图表的信息。Provides information about the chart that raised the Deleted event.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

属性

chartId

获取已从工作表删除的图表的 ID。Gets the id of the chart that is deleted from the worksheet.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

source

获取事件源。Gets the source of the event. 有关详细信息,请参阅 Excel.EventSource。See Excel.EventSource for details.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

type

获取事件的类型。Gets the type of the event. 有关详细信息,请参阅 Excel.EventType。See Excel.EventType for details.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

worksheetId

获取已在其中删除图表的工作表的 ID。Gets the id of the worksheet in which the chart is deleted.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

属性详细信息

chartId

获取已从工作表删除的图表的 ID。Gets the id of the chart that is deleted from the worksheet.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

chartId: string;

属性值

string

source

获取事件源。Gets the source of the event. 有关详细信息,请参阅 Excel.EventSource。See Excel.EventSource for details.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

source: Excel.EventSource | "Local" | "Remote";

属性值

Excel.EventSource | "Local" | "Remote"

type

获取事件的类型。Gets the type of the event. 有关详细信息,请参阅 Excel.EventType。See Excel.EventType for details.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

type: "ChartDeleted";

属性值

"ChartDeleted"

worksheetId

获取已在其中删除图表的工作表的 ID。Gets the id of the worksheet in which the chart is deleted.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

worksheetId: string;

属性值

string