GetHTMLTextLineCount

Text, HTML text

Description

Returns the number of lines a block of HTML text will take up if it is drawn using the

DrawHTMLText function. See Appendix A for details of the supported HTML tags.

Syntax

Delphi

function TPDFlib.GetHTMLTextLineCount(Width: Double; Const HTMLText: WideString): Integer;

ActiveX

Function PDFlib::GetHTMLTextLineCount(Width As Double, HTMLText As String) As Long

DLL

int DLGetHTMLTextLineCount(int InstanceID, double Width, wchar_t * HTMLText);

Parameters

WidthThe width of the area the text would be drawn into
HTMLTextThe HTML text to determine the number of lines of