CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2002
    Location
    Philippines
    Posts
    197

    GetTextExtent in VB.NET?

    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/
    "Hhmn... You are damned if you do; and you are damned if you don't." -- bart simpson

  2. #2
    Join Date
    Apr 2003
    Posts
    1,755

    Smile

    U can use MeasureString method of the Graphics object.

    Hope this will help you

  3. #3
    Join Date
    Sep 2002
    Location
    Philippines
    Posts
    197
    Thanks kabayan! It was indeed a big help.

    Regards,

    Owen/
    "Hhmn... You are damned if you do; and you are damned if you don't." -- bart simpson

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured