MonobjcMonobjc Documented Class Library
ApplyFontTraitsRange Method (__target, mask, aRange)
NamespacesMonobjc.AppKitNSMutableAttributedString_AppKitAdditionsApplyFontTraitsRange(NSMutableAttributedString, NSFontTraitMask, NSRange)

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.

Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
__target (NSMutableAttributedString)
The target instance.
mask (NSFontTraitMask)
MISSING
aRange (NSRange)
MISSING
Usage Note
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.
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)