MonobjcMonobjc Documented Class Library
SetBoundsRectForTextBlockGlyphRange Method (rect, block, glyphRange)
NamespacesMonobjc.AppKitNSLayoutManagerSetBoundsRectForTextBlockGlyphRange(NSRect, NSTextBlock, NSRange)

Sets the bounding rectangle enclosing a given text block containing the given glyph range.

Original signature is '- (void)setBoundsRect:(NSRect)rect forTextBlock:(NSTextBlock *)block glyphRange:(NSRange)glyphRange'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetBoundsRectForTextBlockGlyphRange(
	NSRect rect,
	NSTextBlock block,
	NSRange glyphRange
)
Public Overridable Sub SetBoundsRectForTextBlockGlyphRange ( _
	rect As NSRect, _
	block As NSTextBlock, _
	glyphRange As NSRange _
)
public:
virtual void SetBoundsRectForTextBlockGlyphRange(
	NSRect rect, 
	NSTextBlock^ block, 
	NSRange glyphRange
)
Parameters
rect (NSRect)
The bounding rectangle to set.
block (NSTextBlock)
The text block whose bounding rectangle is set.
glyphRange (NSRange)
The range of glyphs in the text block.
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)