CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2002
    Location
    Torture chamber
    Posts
    132

    How can I find the width of a character in .net

    Dear gurus,

    Currently I'm into a project that requires me to consider the width(em metrics) of the characters of a given font in design units which I do not have any clue how to actually do that?

    I currently have the emsizes of both design and graphics units.

    Thank you.
    end------------------------------
    Programmers aren't born, but are made from hardwork, effort and time.
    To be a good one, requires more effort and hardwork.
    Therefore N quality programmer = (N*hardwork)+(N*effort)+(N*time)

  2. #2
    Join Date
    Jun 2003
    Location
    Malaysia (P.J)
    Posts
    410

    Re: How can I find the width of a character in .net

    U could try looking into MeasureString
    Back after a long hibernation.

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