GetHTMLTextWidth
Version history
This function was introduced in Quick PDF Library version 7.11.
Description
Returns the actual horizontal size of a block of HTML text when wrapped to a maximum
width by the DrawHTMLText function. See Appendix A for details of the supported HTML tags.
Syntax
Delphi
function TQuickPDF0813.GetHTMLTextWidth(MaxWidth: Double;
HTMLText: WideString): Double;
ActiveX
Function QuickPDF0813.PDFLibrary::GetHTMLTextWidth(MaxWidth As Double,
HTMLText As String) As Double
DLL
double QuickPDFGetHTMLTextWidth(int InstanceID, double MaxWidth, wchar_t * HTMLText)
Parameters
| MaxWidth | The width of the area the text would be drawn into |
| HTMLText | The HTML text to determine the width of |