MonobjcMonobjc Documented Class Library
FontDescriptorWithFontAttributes Method (attributes)

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 BasicVisual C++
public static NSFontDescriptor FontDescriptorWithFontAttributes(
	NSDictionary attributes
Public Shared Function FontDescriptorWithFontAttributes ( _
	attributes As NSDictionary _
) As NSFontDescriptor
static NSFontDescriptor^ FontDescriptorWithFontAttributes(
	NSDictionary^ attributes
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)

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