rvico TRichView Reference | TRichView | TRVRTFReaderProperties

TRVRTFReaderProperties.UnicodeMode

Top  Previous  Next

Defines how text is read from RTF.

property UnicodeMode: TRVReaderUnicode;

 

type

  TRVReaderUnicode = 

    (rvruMixed, rvruNoUnicode, rvruOnlyUnicode);

Mode

Meaning

rvruMixed

RichView will use Unicode text styles when necessary,  trying to use ANSI text as much as possible.

rvruNoUnicode

RichView will ignore Unicode in RTF. Usually RTF contains ANSI alternative for Unicode text, and RichView will use it.

rvruOnlyUnicode

All imported text will be in Unicode encoding. For conversion to Unicode, RichView will use code page identifier read from RTF, or, if it was not found there, TRVStyle.DefCodePage property.

Default value:

For Delphi/C++Builder 2009 or newer: rvruOnlyUnicode

For older versions: rvruNoUnicode

See also properties:

UseCharsetForUnicode;

CharsetForUnicode.

See also:

Unicode in RichView.


TRichView © trichview.com