Structure

CGWindowImageOption

The data type to use to specify the type of image to be generated for a window.

Declaration

struct CGWindowImageOption

Overview

This type is used in conjunction with the constants described in Window Image Types.

Topics

Type Properties

static var bestResolution: CGWindowImageOption

When capturing the window, return the best image resolution. The returned image size may be different than the screen size.

static var nominalResolution: CGWindowImageOption

When capturing the window, return the nominal image resolution. The returned image size is the same as the screen size.

Relationships

Conforms To

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software