On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> How I get the width of TextShape text?
Find a handy Graphics context, and call StringWidth on it using the
same text font/size/style and text as what's in your TextShape.
Yes, this is a good solution. But I could directly draw a text using
DrawString method, so the StringShape seems a less functional way (how
to draw a string to Graphics.)
--
Peter Bozek
_______________________________________________
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>