TTMSFNCWXCustomHTMLMemo.LoadHtmlContent Method
Loads HTML markup into the editor, optionally converting line breaks and escaping back-slashes.
API unit family: TMSFNCWXHTMLMemo
Declaring type: TTMSFNCWXCustomHTMLMemo
Syntax
procedure LoadHtmlContent(AHTMLText: string; AReplaceWithHTMLLinebreak: Boolean = True; AReplaceBackSlash: Boolean = False);
Parameters
| Name | Description |
|---|---|
AHTMLText |
The HTML content to load. |
AReplaceWithHTMLLinebreak |
When True, line breaks in the text are converted to HTML line-break tags; otherwise they are kept as newline characters. Defaults to True. |
AReplaceBackSlash |
When True, back-slash characters are escaped before loading. Defaults to False. |