WordProcessingConvertOptions class
Leave feedback
On this page
The options for conversion to WordProcessing file type.
The WordProcessingConvertOptions type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of WordProcessingConvertOptions. |
| Property | Description |
|---|---|
| dpi | The desired page DPI after conversion. The default resolution is 96 dpi. |
| fallback_page_size | The fallback page size. |
| format | The desired file type the input document should be converted to. |
| margin_settings | The margin settings for the conversion, represented by IPageMarginOptions. |
| markdown_options | The Markdown conversion options. |
| orientation_settings | The orientation settings. |
| page_number | The page number to start conversion from. |
| pages | The list of page indexes to be converted. Should be specified to convert specific pages. |
| pages_count | The number of pages to convert starting from PageNumber. |
| password | The password used to protect the converted document. |
| pdf_recognition_mode | The PDF recognition mode used for conversion, implementing IPdfRecognitionModeOptions.pdf_recognition_mode. |
| rtf_options | The RTF specific convert options. |
| size_settings | The size settings for the conversion. |
| watermark | The watermark specific options. |
| zoom | The zoom level in percentage. |
from groupdocs.conversion import Converter
from groupdocs.conversion.options.convert import WordProcessingConvertOptions
from groupdocs.conversion.filetypes import WordProcessingFileType
with Converter("./business-plan.docx") as converter:
options = WordProcessingConvertOptions()
options.format = WordProcessingFileType.TXT
converter.convert("./business-plan.txt", options)
Task guides that use WordProcessingConvertOptions:
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.