MonobjcMonobjc Documented Class Library
NSBestDepth Method (colorSpace, bps, bpp, planar, exactMatch)
NamespacesMonobjc.AppKitAppKitFrameworkNSBestDepth(NSString, NSInteger, NSInteger, Boolean, Boolean%)

Attempts to return a window depth adequate for the specified parameters.

Original signature is 'NSWindowDepth NSBestDepth ( NSString *colorSpace, NSInteger bps, NSInteger bpp, BOOL planar, BOOL *exactMatch );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static int NSBestDepth(
	NSString colorSpace,
	NSInteger bps,
	NSInteger bpp,
	bool planar,
	out bool exactMatch
)
Public Shared Function NSBestDepth ( _
	colorSpace As NSString, _
	bps As NSInteger, _
	bpp As NSInteger, _
	planar As Boolean, _
	<OutAttribute> ByRef exactMatch As Boolean _
) As Integer
public:
static int NSBestDepth(
	NSString^ colorSpace, 
	NSInteger bps, 
	NSInteger bpp, 
	bool planar, 
	[OutAttribute] bool% exactMatch
)
Parameters
colorSpace (NSString)
MISSING
bps (NSInteger)
MISSING
bpp (NSInteger)
MISSING
planar (Boolean)
MISSING
exactMatch (Boolean%)
MISSING
Return Value
The rectangle that lies within the resulting border.
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)