MonobjcMonobjc Documented Class Library
TextContainerForGlyphAtIndexEffectiveRangeWithoutAdditionalLayout Method (glyphIndex, effectiveGlyphRange, flag)
NamespacesMonobjc.AppKitNSLayoutManagerTextContainerForGlyphAtIndexEffectiveRangeWithoutAdditionalLayout(NSUInteger, NSRange%, Boolean)

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 withoutAdditionalLayout:(BOOL)flag'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSTextContainer TextContainerForGlyphAtIndexEffectiveRangeWithoutAdditionalLayout(
	NSUInteger glyphIndex,
	ref NSRange effectiveGlyphRange,
	bool flag
)
Public Overridable Function TextContainerForGlyphAtIndexEffectiveRangeWithoutAdditionalLayout ( _
	glyphIndex As NSUInteger, _
	ByRef effectiveGlyphRange As NSRange, _
	flag As Boolean _
) As NSTextContainer
public:
virtual NSTextContainer^ TextContainerForGlyphAtIndexEffectiveRangeWithoutAdditionalLayout(
	NSUInteger glyphIndex, 
	NSRange% effectiveGlyphRange, 
	bool flag
)
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.
flag (Boolean)
If YES, glyph generation and layout are not performed, so this option should not be used unless layout is known to be complete for the range in question, or unless noncontiguous layout is enabled; if NO, both are performed as needed.
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)