MonobjcMonobjc Documented Class Library
InitWithFontAttributes Method (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 virtual Id InitWithFontAttributes(
	NSDictionary attributes
Public Overridable Function InitWithFontAttributes ( _
	attributes As NSDictionary _
) As Id
virtual Id^ InitWithFontAttributes(
	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)