Click to See Complete Forum and Search --> : GetTextExtent in VB.NET?


owenrb
May 6th, 2003, 10:10 PM
Dear All,

Do you know some equivalent function of C++'s GetTextExtent() function in Visual Basic .NET?
Any help or advice you may have will be very much appreciated.
Thanks in advance.


Regards,

Owen/

rxbagain
May 6th, 2003, 10:55 PM
U can use MeasureString method of the Graphics object.

Hope this will help you

owenrb
May 7th, 2003, 08:22 PM
Thanks kabayan! It was indeed a big help.

Regards,

Owen/