Convert to WordProcessing with advanced options
Leave feedback
GroupDocs.Conversion offers the WordProcessingConvertOptions class, enabling fine-tuned control over the conversion process when working with word-processing formats. This class extends the base conversion options with additional advanced parameters, allowing developers to achieve highly customized results.
Specifies the zoom level for the output document, defined as a percentage.
The following example demonstrates how to convert a PDF document to an ODT file using advanced conversion options:
importcom.groupdocs.conversion.Converter;importcom.groupdocs.conversion.filetypes.WordProcessingFileType;importcom.groupdocs.conversion.options.convert.WordProcessingConvertOptions;publicclassConvertToWordProcessingWithAdvancedOptions{publicstaticvoidconvert(){// Load the source document
try(Converterconverter=newConverter("professional-services.pdf")){// Configure presentation conversion options
WordProcessingConvertOptionsoptions=newWordProcessingConvertOptions();options.setPageNumber(2);options.setPagesCount(1);options.setFormat(WordProcessingFileType.Doc);// Perform the conversion
converter.convert("converted_with_options.doc",options);}}publicstaticvoidmain(String[]args){convert();}}
professional-services.pdf is sample file used in this example. Click here to download it.
converted_with_options.doc is converted Doc document. Click here to download it.
This level of configurability makes the WordProcessingConvertOptions class a powerful tool for developers seeking to optimize document conversion workflows.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
Cookie Notice
Language
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.