MonobjcMonobjc Documented Class Library
BestRepresentationForDevice Method (deviceDescription)
NamespacesMonobjc.AppKitNSImageBestRepresentationForDevice(NSDictionary)

Returns the best representation for the device with the specified characteristics. (Deprecated in Mac OS X v10.6.)

Original signature is '- (NSImageRep *)bestRepresentationForDevice:(NSDictionary *)deviceDescription'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.6.")]
public virtual NSImageRep BestRepresentationForDevice(
	NSDictionary deviceDescription
)
<ObsoleteAttribute("Deprecated in Mac OS X v10.6.")> _
Public Overridable Function BestRepresentationForDevice ( _
	deviceDescription As NSDictionary _
) As NSImageRep
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.6.")]
public:
virtual NSImageRep^ BestRepresentationForDevice(
	NSDictionary^ deviceDescription
)
Parameters
deviceDescription (NSDictionary)
A dictionary of attributes for the specified device, or nil to specify the current device. For a list of dictionary keys and values appropriate to display and print devices, see the constants in NSScreen.
Return Value
The image representation that most closely matches the specified criteria.
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)