Translator::TranslateInfo::SetResultHtml

Translator::TranslateInfo::SetResultHtml
void SetResultHtml(const wchar_t* presultHtml, UPInt resultLen = SF_MAX_UPINT);
void SetResultHtml(const char* presultHtmlUTF8, UPInt resultLen = SF_MAX_UPINT);
Description

SetResultHtml sets the translated string as a HTML text. HTML will be parsed before applying to the textfield. Wide-character and UTF-8 variants are supported. Length is optional; and null-terminated string should be used if length is omitted.

Parameters
Parameters 
Description 
const wchar_t* presultHtml 
Translated string in wide-character format. 
UPInt resultLen = SF_MAX_UPINT 
For UTF-8 encoded string this indicates number of bytes (not characters) in the string and for UCS encoded string this indicates number of characters (not bytes) in the string. 
const char* presultHtmlUTF8 
Translated string in UTF-8 format.