RTFSynthesisModeEnum (COM-based API)

RTFSynthesisModeEnum enumeration constants are used to set the modes of RTF file synthesis from the recognized text when exporting to RTF format.

enum RTFSynthesisModeEnum {
    RSM_PlainText = 0,
    RSM_FormattedText = 1,
    RSM_EditableCopy = 2,
    RSM_ExactCopy = 3
};

Elements
Name Description
RSM_PlainText Unlike the RSM_FormattedText mode, this mode does not retain formatting.
RSM_FormattedText

Retains fonts, font sizes, and paragraphs, but does not retain the exact locations of the objects on the page or the spacing. The resulting text will be left-aligned. (Right-to-left texts will be right-aligned).

Note. Vertical texts will be changed to horizontal in this mode.

RSM_EditableCopy Produces a document that nearly preserves the original format and text flow but allows easy editing.
RSM_ExactCopy Produces 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.
See also

IRTFExportSettings::RTFSynthesisMode,

IMSWordExportSettings::RTFSynthesisMode

3/26/2024 1:49:49 PM

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.