Debenu Quick PDF logo

DrawHTMLTextBox

Text, HTML text, Page layout

Description

Similar to the DrawHTMLText function, but the text drawn is limited to a specific area. The remaining HTML text is returned, which can be passed to this function again (perhaps on a different page or location) until the function returns an empty string. See Appendix A for details of the supported HTML tags.

Availability

Windows/Delphi, Windows/ActiveX, Windows/DLL, Mac/Dylib, iOS, Android

Parameters

Left double Horizontal co-ordinate of the left edge of the drawing area
Top double Vertical co-ordinate of the top edge of the drawing area
Width double The width of the drawing area
Height double The height of the drawing area
HTMLText unistr The HTML text to draw

Return type and values

LeftOverText unistr A "string" containing the text that did not fit into the TextBox. This value can be resused to draw the undrawn text into a new text box often on the next page.

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport