MonobjcMonobjc Documented Class Library
MatchingFontDescriptorWithMandatoryKeys Method (mandatoryKeys)

Returns a normalized font descriptor whose specified attributes match those of the receiver.

Original signature is '- (NSFontDescriptor *)matchingFontDescriptorWithMandatoryKeys:(NSSet *)mandatoryKeys'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSFontDescriptor MatchingFontDescriptorWithMandatoryKeys(
	NSSet mandatoryKeys
Public Overridable Function MatchingFontDescriptorWithMandatoryKeys ( _
	mandatoryKeys As NSSet _
) As NSFontDescriptor
virtual NSFontDescriptor^ MatchingFontDescriptorWithMandatoryKeys(
	NSSet^ mandatoryKeys
mandatoryKeys (NSSet)
Keys that must be identical to be matched. Can be nil.
Return Value
The matching 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)