MonobjcMonobjc Documented Class Library
FrameRectForContentRect Method (windowContent)
NamespacesMonobjc.AppKitNSWindowFrameRectForContentRect(NSRect)

Returns the window’s frame rectangle with a given content rectangle.

Original signature is '- (NSRect)frameRectForContentRect:(NSRect)windowContent'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRect FrameRectForContentRect(
	NSRect windowContent
)
Public Overridable Function FrameRectForContentRect ( _
	windowContent As NSRect _
) As NSRect
public:
virtual NSRect FrameRectForContentRect(
	NSRect windowContent
)
Parameters
windowContent (NSRect)
The content rectangle for the window expressed in screen coordinates.
Return Value
The window’s frame rectangle, expressed in screen coordinates, with windowContent.
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)