• 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
Get font name and size chosen - Got it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: ABMutableMultiValue error
  • Next by Date: how to set placeholder for NSImageView
  • Previous by thread: Re: ABMutableMultiValue error
  • Next by thread: how to set placeholder for NSImageView
  • Index(es):
    • Date
    • Thread