MonobjcMonobjc Documented Class Library
CharacterRangeForGlyphRangeActualGlyphRange Method (glyphRange, actualGlyphRange)
NamespacesMonobjc.AppKitNSLayoutManagerCharacterRangeForGlyphRangeActualGlyphRange(NSRange, NSRange%)

Returns the range of characters that generated the glyphs in the given glyph range.

Original signature is '- (NSRange)characterRangeForGlyphRange:(NSRange)glyphRange actualGlyphRange:(NSRangePointer)actualGlyphRange'

Available in Mac OS X v10.0 and later.

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