PageOrientation specifies page orientation. Available options are: Default, Landscape, Portrait.
FallbackPageSize specifies the fallback page size to use when the input document’s page size cannot be determined.
Dpi specifies desired page dpi after conversion. The default resolution is 96 dpi.
MarginTop specifies the desired page top margin in points after conversion.
MarginBottom specifies the desired page bottom margin in points after conversion.
MarginLeft specifies the desired page left margin in points after conversion.
MarginRight specifies the desired page right margin in points after conversion.
Password whether the converted document will be password protected with the specified password.
PdfRecognitionMode specifies the recognition mode when converting from PDF. Available options are: Textbox, Flow. Flow mode is recommended for maximum content editability.
When converting from PDF, control how content is interpreted:
using(Converterconverter=newConverter("document.pdf")){WordProcessingConvertOptionsoptions=newWordProcessingConvertOptions{PdfRecognitionMode=PdfRecognitionMode.Flow// Recommended for editable content};converter.Convert("editable-document.docx",options);}
Available recognition modes:
Textbox - Preserves exact layout using textboxes (less editable)
Flow - Optimizes for content flow and editability (recommended)
RtfOptions
The RtfOptions class provides RTF-specific convert options:
ExportImagesForOldReaders - specifies whether the keywords for “old readers” are written to RTF or not. This can significantly affect the size of the RTF document.
The following code snippet shows how to convert to RTF with specific options: