> For the complete documentation index, see [llms.txt](https://mostafaznv.gitbook.io/pdf-optimizer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mostafaznv.gitbook.io/pdf-optimizer/advanced-usage/configuring-ghostscript/compatibilitylevel.md).

# CompatibilityLevel

| Method Name        | Argument Name      | Argument Type                                    |
| ------------------ | ------------------ | ------------------------------------------------ |
| compatibilityLevel | compatibilityLevel | Mostafaznv\PdfOptimizer\Enums\CompatibilityLevel |

The PDF version number: <mark style="color:red;">**1.2, 1.3, 1.4, 1.5, 1.6, or 1.7**</mark>

{% hint style="info" %}
Applications other than Distiller do not support saving files as PDF 1.2.
{% endhint %}
