ExcelToPdfConverterConvertExcelStreamToFile(Stream, Int32, String) Method
Converts an Excel document read from a stream to PDF and writes the rendered PDF document into a file.
You can specify the list of worksheets to be exported to PDF
Namespace: Winnovative.ExcelToPdfAssembly: WnvExcelToPdf_NetCore (in WnvExcelToPdf_NetCore.dll) Version: 12.0.0
public void ConvertExcelStreamToFile(
Stream excelStream,
int[] worksheetIndexes,
string outFile
)
Public Sub ConvertExcelStreamToFile (
excelStream As Stream,
worksheetIndexes As Integer(),
outFile As String
)
public:
void ConvertExcelStreamToFile(
Stream^ excelStream,
array<int>^ worksheetIndexes,
String^ outFile
)
member ConvertExcelStreamToFile :
excelStream : Stream *
worksheetIndexes : int[] *
outFile : string -> unit
Parameters
- excelStream Stream
- The stream containing the Excel document to convert to PDF
- 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
- outFile String
- The full path of the file where to write the rendered PDF document