Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
The Aspose.Pdf.LowCode.XlsConverter plugin converts PDF documents to spreadsheet formats. Configure the operation with PdfToXlsOptions, set the output Format when needed, add input and output data sources, and call Process.
// For complete examples and data files, visit https://github.com/aspose-pdf/Aspose.PDF-for-.NET
private static void ConvertPdfToXlsxWithPlugin()
{
// The path to the documents directory
var dataDir = RunExamples.GetDataDir_AsposePdf_DocumentConversion();
// Create PDF XlsConverter plugin
var plugin = new Aspose.Pdf.LowCode.XlsConverter();
// Configure XLSX conversion options
var options = new Aspose.Pdf.LowCode.PdfToXlsOptions
{
Format = Aspose.Pdf.LowCode.PdfToXlsOptions.ExcelFormat.XLSX
};
options.AddInput(new Aspose.Pdf.LowCode.FileDataSource(dataDir + "PDFToXLS.pdf"));
options.AddOutput(new Aspose.Pdf.LowCode.FileDataSource(dataDir + "ConvertPdfToXlsx_out.xlsx"));
// Convert the file
var result = plugin.Process(options);
// Get the path of the saved XLSX workbook
var outputPath = result.ResultCollection[0].ToFile();
}
PdfToXlsOptions.ExcelFormat supports Excel and tabular output formats such as XLSX, CSV, ODS, XLSM, and XML Spreadsheet 2003.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.