Applies the font attributes specified by mask to the characters in aRange.
Original signature is '- (void)applyFontTraits:(NSFontTraitMask)mask range:(NSRange)aRange'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public static void ApplyFontTraitsRange( this NSMutableAttributedString __target, NSFontTraitMask mask, NSRange aRange )
<ExtensionAttribute> _ Public Shared Sub ApplyFontTraitsRange ( _ __target As NSMutableAttributedString, _ mask As NSFontTraitMask, _ aRange As NSRange _ )
[ExtensionAttribute] public: static void ApplyFontTraitsRange( NSMutableAttributedString^ __target, NSFontTraitMask mask, NSRange aRange )

- __target (NSMutableAttributedString)
- The target instance.
- mask (NSFontTraitMask)
- MISSING
- aRange (NSRange)
- MISSING

In Visual Basic and C#, you can call this method as an instance method on any object of type NSMutableAttributedString. When you use instance method syntax to call this method, omit the first parameter.

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