Highlight Text in a Document
To highlight text in a document
-
Set the OPENMode property to
5
(enable index mode). -
Open the document in which you want to place highlights. See Open for more information.
-
Use the SetHiLiteOptions method to set the highlight color and font.
-
Use the SetHiLite method to specify the text to be highlighted.