• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best way to obtain the width of a piece of text?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to obtain the width of a piece of text?


  • Subject: Re: Best way to obtain the width of a piece of text?
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 8 Apr 2004 16:03:28 -0700

On Apr 8, 2004, at 3:12 PM, Steve Sims wrote:

I need to be able to work out what the width of a piece of text is, but I'm having a few problems.

I think what you really want is -[NSString sizeWithAttributes:].

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Best way to obtain the width of a piece of text?
      • From: Steve Sims <email@hidden>
References: 
 >Best way to obtain the width of a piece of text? (From: Steve Sims <email@hidden>)

  • Prev by Date: Re: setNeedsDisplay: thread safe?
  • Next by Date: Re: setNeedsDisplay: thread safe?
  • Previous by thread: Best way to obtain the width of a piece of text?
  • Next by thread: Re: Best way to obtain the width of a piece of text?
  • Index(es):
    • Date
    • Thread