Type Alias

NSWorkspaceDesktopImageOptionKey

Keys that indicate how to display a new desktop image.

Declaration

typedef NSString *NSWorkspaceDesktopImageOptionKey;

Discussion

Specify the following keys when calling the setDesktopImageURL:forScreen:options:error: method.

Topics

Option Keys

NSWorkspaceDesktopImageScalingKey

A key that contains the behavior to use when scaling the image.

NSWorkspaceDesktopImageAllowClippingKey

A key that contains the behavior to use when clipping the image.

NSWorkspaceDesktopImageFillColorKey

A key that contains the behavior to use when filling the empty space around the image.

See Also

Managing the Desktop Image

- desktopImageURLForScreen:

Returns the URL for the desktop image for the given screen.

- setDesktopImageURL:forScreen:options:error:

Sets the desktop image for the given screen to the image at the specified URL.

- desktopImageOptionsForScreen:

Returns the desktop image options for the given screen.