Returns the bounding rectangle enclosing the given text block containing the given glyph range.
Original signature is '- (NSRect)boundsRectForTextBlock:(NSTextBlock *)block glyphRange:(NSRange)glyphRange'
Available in Mac OS X v10.4 and later.

C# | Visual Basic | Visual C++ |
public virtual NSRect BoundsRectForTextBlockGlyphRange( NSTextBlock block, NSRange glyphRange )
Public Overridable Function BoundsRectForTextBlockGlyphRange ( _ block As NSTextBlock, _ glyphRange As NSRange _ ) As NSRect
public: virtual NSRect BoundsRectForTextBlockGlyphRange( NSTextBlock^ block, NSRange glyphRange )

- block (NSTextBlock)
- The text block whose bounds rectangle is returned.
- glyphRange (NSRange)
- The range of glyphs in the text block.

The bounding rectangle, 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)