Hi, I'm looking for a simple class using PoDoFo services that will draw
a multi-line text string into a rectangular box with text wrapping,
assuming the current font settings. Does anyone have such a function or
class, along the lines the following?

DrawMultilineText (     int     left, 
                int     bottom, 
                int     width, 
                int     height, 
                const String &  text, 
                int     alignment, 
                bool    wordWrap = true  )

or failing that, something that will give an estimate if height & length
in PDF units of the string so I can implement some sort of simple wrap
and line spacing? It looks like it may be possible by using:

PoDoFo:PdfFont::GetFontMetrics()
   PdfFontMetrics::StringWidth()

but I'm not sure.

Thanks!
-- 
-- Ian -- [EMAIL PROTECTED]  ---

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to