Hi Mikhail, > By the way, isn't it possible to let GetTextRect() method preserve the > width and increase the height of the rectangle? In this case the > approximation step would not be necessary.
I'm not sure. I also wish it would, but IIRC it doesn't work this way. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]