Returns the layout rectangle within which the given text block containing the given glyph range is to be laid out.
Original signature is '- (NSRect)layoutRectForTextBlock:(NSTextBlock *)block glyphRange:(NSRange)glyphRange'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSRect LayoutRectForTextBlockGlyphRange( NSTextBlock block, NSRange glyphRange )
Public Overridable Function LayoutRectForTextBlockGlyphRange ( _ block As NSTextBlock, _ glyphRange As NSRange _ ) As NSRect
public: virtual NSRect LayoutRectForTextBlockGlyphRange( NSTextBlock^ block, NSRange glyphRange )
Parameters
- block (NSTextBlock)
- MISSING
- glyphRange (NSRange)
- MISSING
Return Value
The layout rectangle, or NSZeroRect if no rectangle has been set for the specified block since the last invalidation.
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)