Open topic with navigation

# KVHTMLHighlight

This structure defines the search terms that are found and highlighted in the HTML output. It is initialized by calling `KVHTMLSetHighlight()` and is defined in `kvtypes.h`. See KVHTMLSetHighlight().

    typedef struct tag_KVHTMLHighlight
    {
        KVStructHeader;
        char           **ppHLTerms;
        int            nSize;
        KVCharset      eCharset;
        char           *pHLStart;
        char           *pHLEnd;
        BOOL           bMatchCase;
        int            nReserved;
        void           *pReserved;
    }
    KVHTMLHighlight;

## Member Descriptions

`KVStructHeader` | The KeyView version of the structure. See KVStructHead.
`ppHLTerms` | An array of terms to be found and highlighted in the HTML output.
`nSize` | The number of terms to be found and highlighted in the HTML output.
`eCharset` | The character set of the term. The available character sets are enumerated in `KVCharSet` in `kvtypes.h`. See Convert Character Sets. When `eCharset` is specified, the term is converted from this character set to the output character set when the character sets are different. If `eCharset` is not specified, the term’s character set is assumed to be the output character set.
`pHLStart` | The start tag that specifies the text attributes used to highlight the text string. For example, you could specify `<font style="color:#ff0000;background-color:#00FF00;">`
`pHLEnd` | The end tag used to close the highlighting start tag. The end tag for the example above would be `</font>`
`bMatchCase` | This Boolean applies only to searches on documents with a target character set of 1252. If this Boolean is set, the text search is case sensitive. By default, the text search is case insensitive.
`nReserved` | Reserved for future use.
`pReserved` | Reserved for future use.

© 2006-2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm