MonobjcMonobjc Documented Class Library
InvalidateGlyphsForCharacterRangeChangeInLengthActualCharacterRange Method (charRange, lengthChange, actualCharRange)
NamespacesMonobjc.AppKitNSLayoutManagerInvalidateGlyphsForCharacterRangeChangeInLengthActualCharacterRange(NSRange, NSInteger, NSRange%)

Invalidates the cached glyphs for the characters in the given character range, adjusts the character indices of all the subsequent glyphs by the change in length, and invalidates the new character range.

Original signature is '- (void)invalidateGlyphsForCharacterRange:(NSRange)charRange changeInLength:(NSInteger)lengthChange actualCharacterRange:(NSRangePointer)actualCharRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void InvalidateGlyphsForCharacterRangeChangeInLengthActualCharacterRange(
	NSRange charRange,
	NSInteger lengthChange,
	ref NSRange actualCharRange
)
Public Overridable Sub InvalidateGlyphsForCharacterRangeChangeInLengthActualCharacterRange ( _
	charRange As NSRange, _
	lengthChange As NSInteger, _
	ByRef actualCharRange As NSRange _
)
public:
virtual void InvalidateGlyphsForCharacterRangeChangeInLengthActualCharacterRange(
	NSRange charRange, 
	NSInteger lengthChange, 
	NSRange% actualCharRange
)
Parameters
charRange (NSRange)
The range of characters for which to invalidate glyphs.
lengthChange (NSInteger)
The number of characters added or removed.
actualCharRange (NSRange%)
If not NULL, on output, the actual range invalidated after any necessary expansion. This range can be larger than the range of characters given due to the effect of context on glyphs and layout.
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)