Click or drag to resize

XlsWorksheet SaveToEMFImage Method

Note: This API is now obsolete.

Converts range into EMF format 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 ToEMFStream() instead")]
public void SaveToEMFImage(
	string FilePath,
	int firstRow,
	int firstColumn,
	int lastRow,
	int lastColumn,
	EmfType emfType
)

Parameters

FilePath
Type: System String
Output File Path
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:
Created image.
See Also