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 Basic | Visual C++ |
public virtual NSFontDescriptor MatchingFontDescriptorWithMandatoryKeys( NSSet mandatoryKeys )
Public Overridable Function MatchingFontDescriptorWithMandatoryKeys ( _ mandatoryKeys As NSSet _ ) As NSFontDescriptor
public: virtual NSFontDescriptor^ MatchingFontDescriptorWithMandatoryKeys( NSSet^ mandatoryKeys )
Parameters
- 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)