Get font name and size chosen - Got it
Get font name and size chosen - Got it
- Subject: Get font name and size chosen - Got it
- From: Lorenzo <email@hidden>
- Date: Wed, 23 Jan 2008 15:45:28 +0100
I have found it, no problem.
NSFont *panelFont = [sender convertFont:[sender selectedFont]];
NSString *fontName = [panelFont displayName];
float fontSize = [panelFont pointSize];
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden