XlsWorkbook
SaveChartAsEmfImage Method
|
Saves the specified chart as an EMF image.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public Image SaveChartAsEmfImage(
Worksheet worksheet,
int chartIndex,
ConverterSetting imageOrPrintOptions,
Stream emfStream
)
Public Function SaveChartAsEmfImage (
worksheet As Worksheet,
chartIndex As Integer,
imageOrPrintOptions As ConverterSetting,
emfStream As Stream
) As Image
public:
Image^ SaveChartAsEmfImage(
Worksheet^ worksheet,
int chartIndex,
ConverterSetting^ imageOrPrintOptions,
Stream^ emfStream
)
member SaveChartAsEmfImage :
worksheet : Worksheet *
chartIndex : int *
imageOrPrintOptions : ConverterSetting *
emfStream : Stream -> Image
Parameters
-
worksheet
-
Type:
Spire.Xls
Worksheet
The worksheet containing the chart.
-
chartIndex
-
Type:
System
Int32
The index of the chart to save.
-
imageOrPrintOptions
-
Type:
Spire.Xls
ConverterSetting
The options for saving the image.
-
emfStream
-
Type:
System.IO
Stream
The stream to save the EMF image to.
Return Value
Type:
Image
The saved EMF image.
See Also