XlsWorkbook
SaveChartAsImage Method (ChartSheet, ConverterSetting)
|
Saves the chart from the specified chart sheet 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(
ChartSheet chartSheet,
ConverterSetting imageOrPrintOptions
)
Public Function SaveChartAsImage (
chartSheet As ChartSheet,
imageOrPrintOptions As ConverterSetting
) As Image
public:
Image^ SaveChartAsImage(
ChartSheet^ chartSheet,
ConverterSetting^ imageOrPrintOptions
)
member SaveChartAsImage :
chartSheet : ChartSheet *
imageOrPrintOptions : ConverterSetting -> Image
Parameters
-
chartSheet
-
Type:
Spire.Xls
ChartSheet
The chart sheet containing the chart to save.
-
imageOrPrintOptions
-
Type:
Spire.Xls
ConverterSetting
The image or print options to use when saving the chart.
Return Value
Type:
Image
The saved image.
See Also