Quick PDF logo

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 TQuickPDF0813.GetHTMLTextHeight(Width: Double; 
  HTMLText: WideString): Double;

ActiveX

Function QuickPDF0813.PDFLibrary::GetHTMLTextHeight(Width As Double,
  HTMLText As String) As Double

DLL

double QuickPDFGetHTMLTextHeight(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.

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum