RenderHTML2Text function
Converts the specified HTML content to a plain text value.
Declaration
function RenderHTML2Text(const AHTML: string): stringDescription
RenderHTML2Text is a
String function used to convert
the HTML content specified in
AHTML to a string with the plain
text for the content. RenderHTML2Text creates a temporary
THTML2TextRenderer instance (using its default configuration
values) to remove any HTML mark-up found in the AHTML argument by calling its
Render method.
RenderHTML2Text is a convenience routine; use a THTML2TextRenderer instance when the HTML content is stored in a TStream instance, or to override the default configuration settings for the class instance.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
