ExcelToPdfConverterConvertExcelDataToFile(Byte, String, Int32, String) Method
Converts an Excel document read from a data buffer to PDF and writes the rendered PDF document into a file.
You can specify the password to open the Excel document and the list of worksheets to be exported to PDF
Namespace: EvoPdfClientAssembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
public void ConvertExcelDataToFile(
byte[] excelData,
string password,
int[] worksheetIndexes,
string outFile
)
Public Sub ConvertExcelDataToFile (
excelData As Byte(),
password As String,
worksheetIndexes As Integer(),
outFile As String
)
Parameters
- excelData Byte
- The data buffer 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
- outFile String
- The full path of the file where to write the rendered PDF document