Click or drag to resize

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

Converts a range of cells in the worksheet to an EMF (Enhanced Metafile) stream.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void ToEMFStream(
	Stream stream,
	int firstRow,
	int firstColumn,
	int lastRow,
	int lastColumn,
	EmfType emfType
)

Parameters

stream
Type: System.IO Stream
The stream to write the EMF data to.
firstRow
Type: System Int32
The zero-based index of the first row to include in the conversion.
firstColumn
Type: System Int32
The zero-based index of the first column to include in the conversion.
lastRow
Type: System Int32
The zero-based index of the last row to include in the conversion.
lastColumn
Type: System Int32
The zero-based index of the last column to include in the conversion.
emfType
Type: System.Drawing.Imaging EmfType
The type of EMF to generate.
See Also