I am currently evaluating DynamicPDF for doing some very detailed page layouts, and I have found it to be extremely flexible and fast. The best on the market for this type of rendering. Thanks for such a great tool! Kelley Blue Book will be purchasing it shortly.
However, I have found a shortcoming in your methods on the TextArea and FormattedTextArea (formerly HTMLTextArea) objects to which a solution would be very, very helpful.
You currently provide only a GetRequiredHeight() method on these objects. I would suggest the addition of a GetRequiredWidth() method as well that returns the width that would be necessary to fit all the current text within the current object height without overflow. You currently do provide a similar method on the Table object which I have been using extensively.
I have been forced to create my own version of this in an inherited version of the Text objects and i KNOW that my version is probably far less efficient than you could generate.
Thanks for hearing me out.
Sincerely,
Richard Larson
Sr. Consulting Software Engineer
Kelley Blue Book
<mailto:rlarson@kbb.com>
Suggestion: Add a GetRequiredWidth() method...
Re: Suggestion: Add a GetRequiredWidth() method...
Support · May 4, 2006Hello Richard,
You can find out the width for the text if the string is just one line using the GetTextWidth method of the Font object which takes the string and the font size.
We will add this request to our wish list. This method may be included in the future release but nothing is currently planned.
Thanks,
ceTe Software Support Team
Re: Suggestion: Add a GetRequiredWidth() method...
Forum member · May 4, 2006Thanks for the quick reply. I agree about the Font object method being useful for a single line. However I need to fit as many lines of text as possible within the available height, and vary the width if necessary. So for now I will continue to use my inherited TextArea class and maybe a future release will have the GetRequiredWidth() added to it.
Thanks again! I am very pleased with your product. It has made my life a LOT easier on my current project. Keep up the great work!
Rich Larson
Sr. Consulting Software Engineer
Kelley Blue Book