Indicates whether the given font has all the specified traits.
Original signature is '- (BOOL)fontNamed:(NSString *)typeface hasTraits:(NSFontTraitMask)fontTraitMask'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public virtual bool FontNamedHasTraits( NSString typeface, NSFontTraitMask fontTraitMask )
Public Overridable Function FontNamedHasTraits ( _ typeface As NSString, _ fontTraitMask As NSFontTraitMask _ ) As Boolean
public: virtual bool FontNamedHasTraits( NSString^ typeface, NSFontTraitMask fontTraitMask )

- typeface (NSString)
- The name of the font.
- fontTraitMask (NSFontTraitMask)
- The font traits to test, specified by combining the font trait mask values described in “Constants” using the C bitwise OR operator.

YES if the font named typeface has all the traits specified in fontTraitMask; NO if it doesn’t.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)