Returns a font descriptor with a dictionary of attributes.
Original signature is '+ (NSFontDescriptor *)fontDescriptorWithFontAttributes:(NSDictionary *)attributes'
Available in Mac OS X v10.3 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSFontDescriptor FontDescriptorWithFontAttributes( NSDictionary attributes )
Public Shared Function FontDescriptorWithFontAttributes ( _ attributes As NSDictionary _ ) As NSFontDescriptor
public: static NSFontDescriptor^ FontDescriptorWithFontAttributes( NSDictionary^ attributes )
Parameters
- attributes (NSDictionary)
- The attributes for the font descriptor. If nil, the font descriptor’s dictionary will be empty.
Return Value
The new font descriptor.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)