Click or drag to resize

XlsWorkbook SaveAsImages Method (Int32, Single, Single)

Saves the specified sheet as images.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public Image SaveAsImages(
	int sheetIndex,
	float dpiX,
	float dpiY
)

Parameters

sheetIndex
Type: System Int32
The index of the sheet to save.
dpiX
Type: System Single
The horizontal dots per inch (DPI) of the image.
dpiY
Type: System Single
The vertical dots per inch (DPI) of the image.

Return Value

Type: Image
The saved image.
See Also