Click or drag to resize

XlsWorkbook SaveChartAsImage Method (Worksheet, ConverterSetting)

Saves the chart in the specified worksheet as an image using the provided image or print options.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public Image[] SaveChartAsImage(
	Worksheet worksheet,
	ConverterSetting imageOrPrintOptions
)

Parameters

worksheet
Type: Spire.Xls Worksheet
The worksheet containing the chart to save.
imageOrPrintOptions
Type: Spire.Xls ConverterSetting
The image or print options to use when saving the chart as an image.

Return Value

Type: Image
An array of Image objects representing the saved chart images.
See Also