• 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: width of NSString in pixels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: width of NSString in pixels


  • Subject: Re: width of NSString in pixels
  • From: "Axel 'Mikesch' Katerbau" <email@hidden>
  • Date: Tue, 27 Nov 2001 14:47:34 +0100 (Europe/Berlin)

Hi Bob,

the width of an NSString

:-) That depends on the font (and its attributes). NSAttributedString (Additions) in AppKit has the method - (NSSize)size. You might want to use that.


Greetings,
Axel
--
Axel Katerbau <email@hidden>
ilink Kommunikationssysteme GmbH

Tel: +49 211 239468-126
Fax: +49 211 239468-199


References: 
 >width of NSString in pixels (From: Robert Miller <email@hidden>)

  • Prev by Date: What's an external relocation entry?
  • Next by Date: problem with scrollToPoint
  • Previous by thread: width of NSString in pixels
  • Next by thread: Re: width of NSString in pixels
  • Index(es):
    • Date
    • Thread