MonobjcMonobjc Documented Class Library
NSTextView Constructor (frameRect, aTextContainer)
NamespacesMonobjc.AppKitNSTextViewNSTextView(NSRect, NSTextContainer)

Initializes a text view.

Original signature is '- (id)initWithFrame:(NSRect)frameRect textContainer:(NSTextContainer *)aTextContainer'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSTextView(
	NSRect frameRect,
	NSTextContainer aTextContainer
)
Public Sub New ( _
	frameRect As NSRect, _
	aTextContainer As NSTextContainer _
)
public:
NSTextView(
	NSRect frameRect, 
	NSTextContainer^ aTextContainer
)
Parameters
frameRect (NSRect)
The frame rectangle of the text view.
aTextContainer (NSTextContainer)
The text container of the text view.
Return Value
An initialized text view.
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)