|
-
February 19th, 2003, 07:32 PM
#1
C# and GetTextExtent
I am writing a control in C#. I would like to get the size of th text in pixels from the Graphics object. This would be similair to DC.GetTExtExtent in VC++.
I've tried MeasureString but it does not return me what I was expecting.
Does anyone know how to do this? Is there some mode I have to set to get MeasureString to work as I want?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|