Re: Height of an NSAttributedString
Re: Height of an NSAttributedString
- Subject: Re: Height of an NSAttributedString
- From: Douglas Davidson <email@hidden>
- Date: Wed, 21 Dec 2005 09:34:48 -0800
You should now be able to use -[NSString
boundingRectWithSize:options:attributes:] or -[NSAttributedString
boundingRectWithSize:options:]. Alternatively, you can certainly use
a text view to do the measuring for you, or for the most control, set
up a text storage, text container, and layout manager yourself.
I'm not sure exactly what you mean when you say that you are not
getting accurate results; perhaps you could produce and post a simple
example, showing the results you expect and the results you actually
see.
Douglas Davidson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden