Contents

bestRepresentationForDevice:

Returns the best representation for the device with the specified characteristics.

Declaration

- (NSImageRep *) bestRepresentationForDevice:(NSDictionary *) deviceDescription;

Parameters

  • deviceDescription:

    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.

Discussion

If deviceDescription is nil, this method uses the attributes of the device on which the content is to be drawn.

See Also

Related Documentation

Instance Methods