Hello,
When working with a StyledTextPrinter, we call DrawBlock until there is
no more text to print.
Is there any method that will find out what is the minimum height
needed to do a complete DrawBlock (that is, EOF would hold true after
first call) at the current Width of the StyledTextPrinter?
The only solution I could figure out is to simulate a few DrawBlocks at
different Heights and note the first one that makes EOF true. But it is
time consuming and not so accurate.
I think such a function would be very useful, for instance, in a
tabular-style printed report, when finding the needed height of a row.
Best regards,
Paul Mateescu
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|