EVO Excel to PDF Converter

ExcelToPdfConverterConvertExcelStream Method (Stream, String, Int32)

EVO Excel to PDF Converter Documentation
Converts an Excel document read from a stream to PDF and returns the rendered PDF document into a memory buffer. You can specify the password to open the Excel File and the list of worksheets to be exported to PDF

Namespace:  EvoExcelToPdf
Assembly:  evoexceltopdf (in evoexceltopdf.dll) Version: 10.0.0.0
Syntax

public byte[] ConvertExcelStream(
	Stream excelStream,
	string password,
	int[] worksheetIndexes
)

Parameters

excelStream
Type: System.IOStream
The stream containing the Excel document to convert to PDF
password
Type: SystemString
The password to open the Excel document
worksheetIndexes
Type: SystemInt32
The zero based indexes in workbook of the worksheets to export to PDF. The worksheets are exported in the order given by this list

Return Value

Type: Byte
An array of bytes containing the binary representation of the PDF document.
See Also

Reference