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 LongDLL
int DLGetHTMLTextLineCount(int InstanceID, double Width, wchar_t * HTMLText);Parameters
| Width | The width of the area the text would be drawn into |
|---|---|
| HTMLText | The HTML text to determine the number of lines of |