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

ActiveX

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

DLL

double DPLGetHTMLTextHeight(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 © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport