ExcelToPdfConverterConvertExcelStreamToStream(Stream, String, Int32, Stream) Method
Converts an Excel document read from a stream to PDF and writes the rendered PDF document into a stream.
You can specify the password to open the Excel document and the list of worksheets to be exported to PDF
Namespace: Winnovative.ExcelToPdfAssembly: WnvExcelToPdf_NetCore (in WnvExcelToPdf_NetCore.dll) Version: 12.0.0
public void ConvertExcelStreamToStream(
Stream excelStream,
string password,
int[] worksheetIndexes,
Stream outPdfStream
)
Public Sub ConvertExcelStreamToStream (
excelStream As Stream,
password As String,
worksheetIndexes As Integer(),
outPdfStream As Stream
)
public:
void ConvertExcelStreamToStream(
Stream^ excelStream,
String^ password,
array<int>^ worksheetIndexes,
Stream^ outPdfStream
)
member ConvertExcelStreamToStream :
excelStream : Stream *
password : string *
worksheetIndexes : int[] *
outPdfStream : Stream -> unit
Parameters
- excelStream Stream
- The stream containing the Excel document to convert to PDF
- password String
- The password to open the Excel document
- worksheetIndexes Int32
- The zero based indexes in workbook of the worksheets to export to PDF. The worksheets are exported in the order given by this list
- outPdfStream Stream
- The output stream where to write the generated PDF document