Re: width of NSString in pixels
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