XlsWorkbook
SaveAsImages Method (Int32, Int32, Int32, Int32, Int32, Single, Single)
|
Saves the specified range of cells in the specified sheet as an 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 SaveAsImages(
int sheetIndex,
int firstRow,
int firstColumn,
int lastRow,
int lastColumn,
float dpiX,
float dpiY
)
Public Function SaveAsImages (
sheetIndex As Integer,
firstRow As Integer,
firstColumn As Integer,
lastRow As Integer,
lastColumn As Integer,
dpiX As Single,
dpiY As Single
) As Image
public:
Image^ SaveAsImages(
int sheetIndex,
int firstRow,
int firstColumn,
int lastRow,
int lastColumn,
float dpiX,
float dpiY
)
member SaveAsImages :
sheetIndex : int *
firstRow : int *
firstColumn : int *
lastRow : int *
lastColumn : int *
dpiX : float32 *
dpiY : float32 -> Image
Parameters
-
sheetIndex
-
Type:
System
Int32
The index of the sheet to save.
-
firstRow
-
Type:
System
Int32
The index of the first row to save.
-
firstColumn
-
Type:
System
Int32
The index of the first column to save.
-
lastRow
-
Type:
System
Int32
The index of the last row to save.
-
lastColumn
-
Type:
System
Int32
The index of the last column to save.
-
dpiX
-
Type:
System
Single
The horizontal dots per inch (DPI) value for the image.
-
dpiY
-
Type:
System
Single
The vertical dots per inch (DPI) value for the image.
Return Value
Type:
Image
The saved image.
See Also