ExcelToPdfConverterConvertExcelFile(String, String, Int32) Method
Converts an Excel file 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: EvoPdfClientAssembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
public byte[] ConvertExcelFile(
string excelFilePath,
string password,
int[] worksheetIndexes
)
Public Function ConvertExcelFile (
excelFilePath As String,
password As String,
worksheetIndexes As Integer()
) As Byte()
- excelFilePath String
- The full path of the Excel file 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
ByteA memory buffer containing the the generated PDF document