ExcelToPdfConverterConvertExcelStream(Stream, Int32) Method
Converts an Excel document read from a stream to PDF and returns the rendered PDF document into a memory buffer.
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 byte[] ConvertExcelStream(
Stream excelStream,
int[] worksheetIndexes
)
Public Function ConvertExcelStream (
excelStream As Stream,
worksheetIndexes As Integer()
) As Byte()
public:
array<unsigned char>^ ConvertExcelStream(
Stream^ excelStream,
array<int>^ worksheetIndexes
)
member ConvertExcelStream :
excelStream : Stream *
worksheetIndexes : int[] -> byte[]
- 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
ByteAn array of bytes containing the binary representation of the PDF document.