Skip to main content
Table of Contents

TTMSFNCPDFGraphicsLibHTMLEngine.ParseHTML Method

Parses an HTML string and returns an ordered list of rendering segments.

API unit family: TMSFNCPDFGraphicsLibHTMLEngine Declaring type: TTMSFNCPDFGraphicsLibHTMLEngine

Syntax

FMX.TMSFNCPDFGraphicsLibHTMLEngine.hppPascalC++
class function ParseHTML(AHTML: string; ABitmapContainer: TTMSFNCBitmapContainer = nil): TTMSFNCPDFGraphicsLibHTMLLines;
__classmethod TTMSFNCPDFGraphicsLibHTMLLines* __fastcall ParseHTML(System::UnicodeString AHTML, TTMSFNCBitmapContainer* ABitmapContainer = (TTMSFNCBitmapContainer*)(0x0));

Parameters

Name Description
AHTML The HTML string to parse.
ABitmapContainer Optional bitmap container used to resolve image references in the HTML.

Returns

Ordered list of TTMSFNCPDFGraphicsLibHTMLLines rendering segments parsed from the HTML.