MonobjcMonobjc Documented Class Library
GlyphRangeForCharacterRangeActualCharacterRange Method (charRange, actualCharRange)
NamespacesMonobjc.AppKitNSLayoutManagerGlyphRangeForCharacterRangeActualCharacterRange(NSRange, NSRange%)

Returns the range of glyphs that are generated from the characters in the given character range.

Original signature is '- (NSRange)glyphRangeForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer)actualCharRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRange GlyphRangeForCharacterRangeActualCharacterRange(
	NSRange charRange,
	ref NSRange actualCharRange
)
Public Overridable Function GlyphRangeForCharacterRangeActualCharacterRange ( _
	charRange As NSRange, _
	ByRef actualCharRange As NSRange _
) As NSRange
public:
virtual NSRange GlyphRangeForCharacterRangeActualCharacterRange(
	NSRange charRange, 
	NSRange% actualCharRange
)
Parameters
charRange (NSRange)
The character range for which to return the generated glyph range.
actualCharRange (NSRange%)
If not NULL, on output, points to the actual range of characters that fully define the glyph range returned. This range may be identical to or slightly larger than the requested character range. For example, if the text storage contains the characters "O" and "¨“, and the glyph store contains the single precomposed glyph "¨Ö”, and if charRange encloses only the first or second character, then actualCharRange is set to enclose both characters.
Return Value
The range of glyphs generated by charRange.
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)