Returns the bounding rectangle within which the given text block containing the glyph at the given index is to be laid out.
Original signature is '- (NSRect)boundsRectForTextBlock:(NSTextBlock *)block atIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange'
Available in Mac OS X v10.4 and later.

C# | Visual Basic | Visual C++ |
public virtual NSRect BoundsRectForTextBlockAtIndexEffectiveRange( NSTextBlock block, NSUInteger glyphIndex, ref NSRange effectiveGlyphRange )
Public Overridable Function BoundsRectForTextBlockAtIndexEffectiveRange ( _ block As NSTextBlock, _ glyphIndex As NSUInteger, _ ByRef effectiveGlyphRange As NSRange _ ) As NSRect
public: virtual NSRect BoundsRectForTextBlockAtIndexEffectiveRange( NSTextBlock^ block, NSUInteger glyphIndex, NSRange% effectiveGlyphRange )

- block (NSTextBlock)
- The text block whose bounding rectangle is returned.
- glyphIndex (NSUInteger)
- Index of the glyph.
- effectiveGlyphRange (NSRange%)
- If not NULL, on output, the range for all glyphs in the text block.

The bounding rectangle of the text block, or NSZeroRect if no rectangle has been set for the specified block since the last invalidation.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)