Convert PDF to Office on Server/Desktop
To convert PDF Documents to Word format.
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);Convert::WordOutputOptions wordOutputOptions;
// Optionally convert only the first page
wordOutputOptions.SetPages(1, 1);
// Requires the Structured Output module
Convert::ToWord(filename, output_filename, wordOutputOptions);wordOutputOptions := NewWordOutputOptions()
// Optionally convert only the first page
wordOutputOptions.SetPages(1, 1)
// Requires the Structured Output module
ConvertToWord(filename, output_filename, wordOutputOptions)To convert PDF Documents to Excel format.
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::ExcelOutputOptions excelOutputOptions;
// Optionally convert only the first page
excelOutputOptions.SetPages(1, 1);
// Requires the Structured Output module
Convert::ToExcel(filename, output_filename, excelOutputOptions);excelOutputOptions := NewExcelOutputOptions()
// Optionally convert only the first page
excelOutputOptions.SetPages(1, 1)
// Requires the Structured Output module
ConvertToExcel(filename, output_filename, excelOutputOptions)To convert PDF Documents to PowerPoint format.
Convert PDF to Office Full sample code which shows how to convert generic PDF documents to Word, Excel, PowerPoint format
Last updated
Was this helpful?