|Top Previous Next|
Specifies the mode of import of text highlighting.
TRVRTFHighlight = // defined in RVScroll.pas
(rtfhlIgnore, rtfhlFixedColors, rtfhlColorTable);
property ConvertHighlight: TRVRTFHighlight;
(introduced in version 1.7)
RTF editors show text highlighting as a text background color. But this is not a real text background color (which is always imported by RichView), this is not even a RTF text attribute.
– this is a MS Word toolbar button applying text highlighting.
MS Word (and TRichView) always puts 16 default colors to the beginning of RTF color table, so for such documents, both rtfhlFixedColors and rtfhlColorTable work absolutely identically. TRichView itself never saves text background color as a highlight, it uses the special RTF keyword for text background.
It's not recommended to change value of this property.
TRichView © trichview.com