MonobjcMonobjc Documented Class Library
DrawBackgroundForBlockWithFrameInViewCharacterRangeLayoutManager Method (block, frameRect, controlView, charRange, layoutManager)
NamespacesMonobjc.AppKitNSTextTableDrawBackgroundForBlockWithFrameInViewCharacterRangeLayoutManager(NSTextTableBlock, NSRect, NSView, NSRange, NSLayoutManager)

Draws any colors and other decorations for a text table block.

Original signature is '- (void)drawBackgroundForBlock:(NSTextTableBlock *)block withFrame:(NSRect)frameRect inView:(NSView *)controlView characterRange:(NSRange)charRange layoutManager:(NSLayoutManager *)layoutManager'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawBackgroundForBlockWithFrameInViewCharacterRangeLayoutManager(
	NSTextTableBlock block,
	NSRect frameRect,
	NSView controlView,
	NSRange charRange,
	NSLayoutManager layoutManager
)
Public Overridable Sub DrawBackgroundForBlockWithFrameInViewCharacterRangeLayoutManager ( _
	block As NSTextTableBlock, _
	frameRect As NSRect, _
	controlView As NSView, _
	charRange As NSRange, _
	layoutManager As NSLayoutManager _
)
public:
virtual void DrawBackgroundForBlockWithFrameInViewCharacterRangeLayoutManager(
	NSTextTableBlock^ block, 
	NSRect frameRect, 
	NSView^ controlView, 
	NSRange charRange, 
	NSLayoutManager^ layoutManager
)
Parameters
block (NSTextTableBlock)
The text table block that wants to draw its background.
frameRect (NSRect)
The area in which drawing occurs.
controlView (NSView)
The view controlling the drawing.
charRange (NSRange)
The range of the characters whose glyphs are to be drawn.
layoutManager (NSLayoutManager)
The layout manager controlling the typesetting.
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)