GetHTMLTextLineCount
Version history
This function was introduced in Quick PDF Library version 7.11.
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 TQuickPDF0813.GetHTMLTextLineCount(Width: Double;
HTMLText: WideString): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::GetHTMLTextLineCount(Width As Double,
HTMLText As String) As Long
DLL
int QuickPDFGetHTMLTextLineCount(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 |