MonobjcMonobjc Documented Class Library
NSFontDescriptor Constructor (attributes)

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 BasicVisual C++
public NSFontDescriptor(
	NSDictionary attributes
Public Sub New ( _
	attributes As NSDictionary _
	NSDictionary^ attributes
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)