Skip to main content
RTFPageSynthesisModeEnum enumeration constants are used to denote modes of RTF file synthesis from the recognized text when exporting in RTF format.
typedef enum {
 PSM_RTFPlainText,
 PSM_RTFFormatParagraphs,
 PSM_RTFExactCopy,
 PSM_RTFEditableCopy
} RTFPageSynthesisModeEnum;

Elements

NameDescription
PSM\_RTFEditableCopyProduces a document that preserves the original format and text flow but allows easy editing. <Warning> The page breaks are not guaranteed to be preserved in this mode. If that is important to you, use the PSM\_RTFExactCopy option. </Warning>
PSM\_RTFExactCopyProduces a document that maintains the formatting of the original. This option is recommended for documents with complex layouts, such as promotion booklets. Note, however, that this option limits the ability to change the text and formatting of the output document.
PSM\_RTFFormatParagraphsParagraphs and fonts types and sizes are retained. The text formatting inside paragraphs is not retained. The order of the output text is defined by the IRTFExportParams::UseDocumentStructure property.
PSM\_RTFPlainTextThe text in output file is formatted in a single column. Frames are not used. Paragraphs are retained, while types and sizes of fonts are not retained. The order of the output text is defined by the IRTFExportParams::UseDocumentStructure property.

Used in

IRTFExportParams::PageSynthesisMode