---
title: bestResolution
framework: coregraphics
role: symbol
role_heading: Type Property
path: coregraphics/cgwindowimageoption/bestresolution
---

# bestResolution

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

## Declaration

```swift
static var bestResolution: CGWindowImageOption { get }
```

## See Also

### Type Properties

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