MonobjcMonobjc Documented Class Library
DrawWithFrameInViewCharacterIndexLayoutManager Method (cellFrame, controlView, charIndex, layoutManager)
NamespacesMonobjc.AppKitINSTextAttachmentCellDrawWithFrameInViewCharacterIndexLayoutManager(NSRect, NSView, NSUInteger, NSLayoutManager)

Draws the receiver’s image within cellFrame in controlView, which is the view currently focused. charIndex is the index of the attachment character within the text. layoutManager is the layout manager for the text. (required)

Original signature is '- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView characterIndex:(NSUInteger)charIndex layoutManager:(NSLayoutManager *)layoutManager'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
void DrawWithFrameInViewCharacterIndexLayoutManager(
	NSRect cellFrame,
	NSView controlView,
	NSUInteger charIndex,
	NSLayoutManager layoutManager
)
Sub DrawWithFrameInViewCharacterIndexLayoutManager ( _
	cellFrame As NSRect, _
	controlView As NSView, _
	charIndex As NSUInteger, _
	layoutManager As NSLayoutManager _
)
void DrawWithFrameInViewCharacterIndexLayoutManager(
	NSRect cellFrame, 
	NSView^ controlView, 
	NSUInteger charIndex, 
	NSLayoutManager^ layoutManager
)
Parameters
cellFrame (NSRect)
MISSING
controlView (NSView)
MISSING
charIndex (NSUInteger)
MISSING
layoutManager (NSLayoutManager)
MISSING
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)