Initializes and returns a new font descriptor with the specified attributes.
Original signature is '- (id)initWithFontAttributes:(NSDictionary *)attributes'
Available in Mac OS X v10.3 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public NSFontDescriptor( NSDictionary attributes )
Public Sub New ( _ attributes As NSDictionary _ )
public: NSFontDescriptor( NSDictionary^ attributes )
Parameters
- attributes (NSDictionary)
- The attributes for the new font descriptor. If nil, the font descriptor’s attribute 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)