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
)
<ObsoleteAttribute("This Function is Obsolete;use ToImage() instead")>
Public Function SaveToImage (
stream As Stream,
firstRow As Integer,
firstColumn As Integer,
lastRow As Integer,
lastColumn As Integer,
emfType As EmfType
) As Image
public:
[ObsoleteAttribute(L"This Function is Obsolete;use ToImage() instead")]
virtual Image^ SaveToImage(
Stream^ stream,
int firstRow,
int firstColumn,
int lastRow,
int lastColumn,
EmfType emfType
) sealed
[<ObsoleteAttribute("This Function is Obsolete;use ToImage() instead")>]
abstract SaveToImage :
stream : Stream *
firstRow : int *
firstColumn : int *
lastRow : int *
lastColumn : int *
emfType : EmfType -> Image
[<ObsoleteAttribute("This Function is Obsolete;use ToImage() instead")>]
override SaveToImage :
stream : Stream *
firstRow : int *
firstColumn : int *
lastRow : int *
lastColumn : int *
emfType : EmfType -> Image
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