Click or drag to resize

XlsWorkbook SaveAsImageOrXps Method (Stream, FileFormat)

Saves the workbook as an image or XPS file format to the specified 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 SaveAsImageOrXps(
	Stream stream,
	FileFormat fileFormat
)

Parameters

stream
Type: System.IO Stream
The stream to save the workbook to.
fileFormat
Type: Spire.Xls FileFormat
The file format to save the workbook as (Bitmap or XPS).
See Also