MonobjcMonobjc Documented Class Library
SetFrameSize Method (newSize)
NamespacesMonobjc.AppKitNSViewSetFrameSize(NSSize)

Sets the size of the receiver’s frame rectangle to the specified dimensions, resizing it within its superview without affecting its coordinate system.

Original signature is '- (void)setFrameSize:(NSSize)newSize'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetFrameSize(
	NSSize newSize
)
Public Overridable Sub SetFrameSize ( _
	newSize As NSSize _
)
public:
virtual void SetFrameSize(
	NSSize newSize
)
Parameters
newSize (NSSize)
An NSSize structure specifying the new height and width of the frame rectangle.
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)