Some test text!
Core / Guides / Convert PDF to MS Office
Convert PDFs to MS Office (DOCX, XLSX, PPTX) without any external third party dependencies.
lib
and then reference it in the below sample.This sample demonstrates how to convert from a PDF to DOCX file.
Convert.WordOutputOptions wordOutputOptions = new Convert.WordOutputOptions();
// Optionally convert only the first page
wordOutputOptions.SetPages(1, 1);
// Requires the Structured Output module
Convert.ToWord(filename, output_filename, wordOutputOptions);
This sample demonstrates how to convert from a PDF to PPTX file.
Convert.PowerPointOutputOptions powerPointOutputOptions = new Convert.PowerPointOutputOptions();
// Optionally convert only the first page
powerPointOutputOptions.SetPages(1, 1);
// Requires the Structured Output module
Convert.ToPowerPoint(filename, output_filename, powerPointOutputOptions);
This sample demonstrates how to convert from a PDF to XLSX file.
Convert.ExcelOutputOptions excelOutputOptions = new Convert.ExcelOutputOptions();
// Optionally convert only the first page
excelOutputOptions.SetPages(1, 1);
// Requires the Structured Output module
Convert.ToExcel(filename, output_filename, excelOutputOptions);
Convert PDF files to MS Office
Full sample code which illustrates how to convert PDF to MS Office files (Word, Excel, PowerPoint).
Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales