Skip to main content
Table of Contents

TTMSFNCWXHTMLMemo.LoadHtmlContent Method

Loads HTML markup into the editor, optionally converting line breaks and escaping back-slashes.

API unit family: TMSFNCWXHTMLMemo Declaring type: TTMSFNCWXHTMLMemo Inherited from: TTMSFNCWXCustomHTMLMemo

Syntax

FMX.TMSFNCWXHTMLMemo.hppPascalC++
procedure LoadHtmlContent(AHTMLText: string; AReplaceWithHTMLLinebreak: Boolean = True; AReplaceBackSlash: Boolean = False);
void __fastcall LoadHtmlContent(System::UnicodeString AHTMLText, bool AReplaceWithHTMLLinebreak = true, bool AReplaceBackSlash = 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.