Returns the names of the fonts available in the system whose traits are described exactly by the given font trait mask (not the NSFont objects themselves).
Original signature is '- (NSArray *)availableFontNamesWithTraits:(NSFontTraitMask)fontTraitMask'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSArray AvailableFontNamesWithTraits( NSFontTraitMask fontTraitMask )
Public Overridable Function AvailableFontNamesWithTraits ( _ fontTraitMask As NSFontTraitMask _ ) As NSArray
public: virtual NSArray^ AvailableFontNamesWithTraits( NSFontTraitMask fontTraitMask )
Parameters
- fontTraitMask (NSFontTraitMask)
- The font traits for which to return font names. You specify the desired traits by combining the font trait mask values described in “Constants” using the C bitwise OR operator.
Return Value
The names of the corresponding fonts.
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)