---
title: CGWindowImageOption
framework: coregraphics
role: symbol
role_heading: Structure
path: coregraphics/cgwindowimageoption
---

# CGWindowImageOption

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

## Declaration

```swift
struct CGWindowImageOption
```

## Overview

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

## Topics

### Initializers

- [init(rawValue:)](coregraphics/cgwindowimageoption/init(rawvalue:).md)

### Type Properties

- [bestResolution](coregraphics/cgwindowimageoption/bestresolution.md)
- [boundsIgnoreFraming](coregraphics/cgwindowimageoption/boundsignoreframing.md)
- [nominalResolution](coregraphics/cgwindowimageoption/nominalresolution.md)
- [onlyShadows](coregraphics/cgwindowimageoption/onlyshadows.md)
- [shouldBeOpaque](coregraphics/cgwindowimageoption/shouldbeopaque.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Enumerations

- [CGCaptureOptions](coregraphics/cgcaptureoptions.md)
- [CGColorConversionInfoTransformType](coregraphics/cgcolorconversioninfotransformtype.md)
- [CGColorRenderingIntent](coregraphics/cgcolorrenderingintent.md)
- [CGConfigureOption](coregraphics/cgconfigureoption.md)
- [CGDisplayChangeSummaryFlags](coregraphics/cgdisplaychangesummaryflags.md)
- [CGDisplayStreamFrameStatus](coregraphics/cgdisplaystreamframestatus.md)
- [CGDisplayStreamUpdateRectType](coregraphics/cgdisplaystreamupdaterecttype.md)
- [CGError](coregraphics/cgerror.md)
- [CGEventField](coregraphics/cgeventfield.md)
- [CGEventFilterMask](coregraphics/cgeventfiltermask.md)
- [CGEventFlags](coregraphics/cgeventflags.md)
- [CGEventMouseSubtype](coregraphics/cgeventmousesubtype.md)
- [CGEventSourceStateID](coregraphics/cgeventsourcestateid.md)
- [CGEventSuppressionState](coregraphics/cgeventsuppressionstate.md)
- [CGEventTapLocation](coregraphics/cgeventtaplocation.md)
