Debenu Quick PDF logo

GetHTMLTextLineCount

Text, HTML text

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

ActiveX

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

DLL

int DPLGetHTMLTextLineCount(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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport