MonobjcMonobjc Documented Class Library
SetContentSize Method (size)
NamespacesMonobjc.AppKitNSWindowSetContentSize(NSSize)

Sets the size of the window’s content view to a given size, which is expressed in the window’s base coordinate system.

Original signature is '- (void)setContentSize:(NSSize)size'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetContentSize(
	NSSize size
)
Public Overridable Sub SetContentSize ( _
	size As NSSize _
)
public:
virtual void SetContentSize(
	NSSize size
)
Parameters
size (NSSize)
The new size of the window’s content view in the window’s base coordinate system.
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)