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

class function ParseHTML(AHTML: string; ABitmapContainer: TTMSFNCBitmapContainer = nil): TTMSFNCPDFGraphicsLibHTMLLines;

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.