MonobjcMonobjc Documented Class Library
BoundsRectForTextBlockGlyphRange Method (block, glyphRange)
NamespacesMonobjc.AppKitNSLayoutManagerBoundsRectForTextBlockGlyphRange(NSTextBlock, NSRange)

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.

Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
block (NSTextBlock)
The text block whose bounds rectangle is returned.
glyphRange (NSRange)
The range of glyphs in the text block.
Return Value
The bounding 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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)