<!--
{
  "availability" : [
    "ProVideo Encoder Extensions: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Professional Video Applications",
  "identifier" : "/documentation/professional_video_applications/kCEAutoHeightKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:ProCompressorExtensionProtocols.h@4669@macro@kCEAutoHeightKey"
  },
  "title" : "kCEAutoHeightKey"
}
-->

# kCEAutoHeightKey

Specifies whether the output file height is set to automatic in the encoder settings.

```
var kCEAutoHeightKey: String { get }
```

## Discussion

The value of this key is a negative number if the height is set to automatic; otherwise it’s zero.

When the height is set to automatic, the extension calculates the output frame height as a percentage of the source size.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)