Winnovative Excel to PDF Converter

ExcelToPdfConverterConvertExcelStreamToPdfDocumentObject Method (Stream, Int32)

Winnovative Excel to PDF Converter Documentation
Converts an Excel document read from a stream to PDF and returns the rendered PDF document as an object of the Document class that can be further used in other operations requiring this type of objects. You can specify the list of worksheets to be exported to PDF

Namespace:  Winnovative.ExcelToPdf
Assembly:  wnvexceltopdf (in wnvexceltopdf.dll) Version: 10.0.0.0
Syntax

public Document ConvertExcelStreamToPdfDocumentObject(
	Stream excelStream,
	int[] worksheetIndexes
)

Parameters

excelStream
Type: System.IOStream
The stream containing the Excel document to convert to PDF
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: Document
The created Document object
See Also

Reference