MonobjcMonobjc Documented Class Library
TextContainerForGlyphAtIndexEffectiveRange Method (glyphIndex, effectiveGlyphRange)
NamespacesMonobjc.AppKitNSLayoutManagerTextContainerForGlyphAtIndexEffectiveRange(NSUInteger, NSRange%)

Returns the container in which the given glyph is laid out and (optionally) by reference the whole range of glyphs that are in that container.

Original signature is '- (NSTextContainer *)textContainerForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSTextContainer TextContainerForGlyphAtIndexEffectiveRange(
	NSUInteger glyphIndex,
	ref NSRange effectiveGlyphRange
)
Public Overridable Function TextContainerForGlyphAtIndexEffectiveRange ( _
	glyphIndex As NSUInteger, _
	ByRef effectiveGlyphRange As NSRange _
) As NSTextContainer
public:
virtual NSTextContainer^ TextContainerForGlyphAtIndexEffectiveRange(
	NSUInteger glyphIndex, 
	NSRange% effectiveGlyphRange
)
Parameters
glyphIndex (NSUInteger)
Index of a glyph in the returned container.
effectiveGlyphRange (NSRange%)
If not NULL, on output, points to the whole range of glyphs that are in the returned container.
Return Value
The text container in which the glyph at glyphIndex is laid out.
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)