GetHTMLTextHeight
Text, HTML text
Description
Returns the height that a certain block of HTML text will occupy if drawn onto the page. See
Appendix A for details of the supported HTML tags.
Syntax
Delphi
function TPDFlib.GetHTMLTextHeight(Width: Double; Const HTMLText: WideString): Double;ActiveX
Function PDFlib::GetHTMLTextHeight(Width As Double, HTMLText As String) As DoubleDLL
double DLGetHTMLTextHeight(int InstanceID, double Width, wchar_t * HTMLText);Parameters
| Width | The width of the area the text would be drawn into |
|---|---|
| HTMLText | The HTML to determine the height of. See Appendix A for details of the supported HTML tags. |