DrawText::SetHtmlText

DrawText::SetHtmlText
virtual void SetHtmlText(const char* putf8Str, UPInt lengthInBytes = UPInt(-1)) = 0;
virtual void SetHtmlText(const wchar_t* pstr, UPInt lengthInChars = UPInt(-1)) = 0;
virtual void SetHtmlText(const String& str) = 0;
Description

SetHtmlText parses UTF-8, UCS-2 or String encoded HTML and initializes the text object by the parsed HTML text.

Parameters
Parameters 
Description 
const char* putf8Str 
Pointer to HTML encoded UTF-8 string. 
UPInt lengthInBytes = UPInt(-1) 
Number of bytes in the UTF-8 string. 
const wchar_t* pstr 
Pointer to HTML encoded Unicode/UCS-2 string. 
UPInt lengthInChars = UPInt(-1) 
Number of characters in the UCS-2 string. 
const String& str 
HTML encoded String value.