Click or drag to resize

XlsWorksheet SaveToImage Method (Stream, Int32, Int32, Int32, Int32, EmfType)

Note: This API is now obsolete.

Converts range into image.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
[ObsoleteAttribute("This Function is Obsolete;use ToImage() instead")]
public Image SaveToImage(
	Stream stream,
	int firstRow,
	int firstColumn,
	int lastRow,
	int lastColumn,
	EmfType emfType
)

Parameters

stream
Type: System.IO Stream
Output stream. It is ignored if null.
firstRow
Type: System Int32
One-based index of the first row to convert.
firstColumn
Type: System Int32
One-based index of the first column to convert.
lastRow
Type: System Int32
One-based index of the last row to convert.
lastColumn
Type: System Int32
One-based index of the last column to convert.
emfType
Type: System.Drawing.Imaging EmfType
Metafile EmfType.

Return Value

Type: Image
Created image.

Implements

IWorksheet SaveToImage(Stream, Int32, Int32, Int32, Int32, EmfType)
See Also