MonobjcMonobjc Documented Class Library
RectForBlockLayoutAtPointInRectTextContainerCharacterRange Method (block, startingPoint, rect, textContainer, charRange)
NamespacesMonobjc.AppKitNSTextTableRectForBlockLayoutAtPointInRectTextContainerCharacterRange(NSTextTableBlock, NSPoint, NSRect, NSTextContainer, NSRange)

Returns the rectangle within which glyphs should be laid out for a text table block.

Original signature is '- (NSRect)rectForBlock:(NSTextTableBlock *)block layoutAtPoint:(NSPoint)startingPoint inRect:(NSRect)rect textContainer:(NSTextContainer *)textContainer characterRange:(NSRange)charRange'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRect RectForBlockLayoutAtPointInRectTextContainerCharacterRange(
	NSTextTableBlock block,
	NSPoint startingPoint,
	NSRect rect,
	NSTextContainer textContainer,
	NSRange charRange
)
Public Overridable Function RectForBlockLayoutAtPointInRectTextContainerCharacterRange ( _
	block As NSTextTableBlock, _
	startingPoint As NSPoint, _
	rect As NSRect, _
	textContainer As NSTextContainer, _
	charRange As NSRange _
) As NSRect
public:
virtual NSRect RectForBlockLayoutAtPointInRectTextContainerCharacterRange(
	NSTextTableBlock^ block, 
	NSPoint startingPoint, 
	NSRect rect, 
	NSTextContainer^ textContainer, 
	NSRange charRange
)
Parameters
block (NSTextTableBlock)
The text table block that wants to determine where to layout its glyphs.
startingPoint (NSPoint)
The location, in container coordinates, where layout begins.
rect (NSRect)
The rectangle in which the block is constrained to lie. For top-level blocks, this is the container rectangle of textContainer; for nested blocks, this is the layout rectangle of the enclosing block.
textContainer (NSTextContainer)
The text container being used for the layout.
charRange (NSRange)
The range of the characters whose glyphs are to be drawn.
Return Value
The rectangle within which glyphs should be laid out.
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)