MonobjcMonobjc Documented Class Library
FixFontAttributeInRange Method (__target, aRange)
NamespacesMonobjc.AppKitNSMutableAttributedString_AppKitAdditionsFixFontAttributeInRange(NSMutableAttributedString, NSRange)

Fixes the font attribute in aRange, assigning default fonts to characters with illegal fonts for their scripts and otherwise correcting font attribute assignments.

Original signature is '- (void)fixFontAttributeInRange:(NSRange)aRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static void FixFontAttributeInRange(
	this NSMutableAttributedString __target,
	NSRange aRange
)
<ExtensionAttribute> _
Public Shared Sub FixFontAttributeInRange ( _
	__target As NSMutableAttributedString, _
	aRange As NSRange _
)
[ExtensionAttribute]
public:
static void FixFontAttributeInRange(
	NSMutableAttributedString^ __target, 
	NSRange aRange
)
Parameters
__target (NSMutableAttributedString)
The target instance.
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)