MonobjcMonobjc Documented Class Library
FontDescriptorByAddingAttributes Method (attributes)

Returns a new font descriptor that is the same as the receiver but with the specified attributes taking precedence over the existing ones.

Original signature is '- (NSFontDescriptor *)fontDescriptorByAddingAttributes:(NSDictionary *)attributes'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSFontDescriptor FontDescriptorByAddingAttributes(
	NSDictionary attributes
Public Overridable Function FontDescriptorByAddingAttributes ( _
	attributes As NSDictionary _
) As NSFontDescriptor
virtual NSFontDescriptor^ FontDescriptorByAddingAttributes(
	NSDictionary^ attributes
attributes (NSDictionary)
The new attributes.
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)