MonobjcMonobjc Documented Class Library
FontDescriptorByAddingAttributes Method (attributes)
NamespacesMonobjc.AppKitNSFontDescriptorFontDescriptorByAddingAttributes(NSDictionary)

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
public:
virtual NSFontDescriptor^ FontDescriptorByAddingAttributes(
	NSDictionary^ attributes
)
Parameters
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)