PdfValidationConformance
Specifies the conformance level a PDF document is validated against.
from nutrient_sdk import PdfValidationConformanceValues
| Name | Value | Description |
|---|---|---|
PdfValidationConformance.AUTO | 0 | The document is validated against the conformance level it claims in its metadata. |
PdfValidationConformance.PDF_A1A | 1 | The PDF/A-1a conformance level. |
PdfValidationConformance.PDF_A1B | 2 | The PDF/A-1b conformance level. |
PdfValidationConformance.PDF_A2A | 3 | The PDF/A-2a conformance level. |
PdfValidationConformance.PDF_A2U | 4 | The PDF/A-2u conformance level. |
PdfValidationConformance.PDF_A2B | 5 | The PDF/A-2b conformance level. |
PdfValidationConformance.PDF_A3A | 6 | The PDF/A-3a conformance level. |
PdfValidationConformance.PDF_A3U | 7 | The PDF/A-3u conformance level. |
PdfValidationConformance.PDF_A3B | 8 | The PDF/A-3b conformance level. |
PdfValidationConformance.PDF_A4 | 9 | The PDF/A-4 conformance level. |
PdfValidationConformance.PDF_A4E | 10 | The PDF/A-4e conformance level. |
PdfValidationConformance.PDF_A4F | 11 | The PDF/A-4f conformance level. |
PdfValidationConformance.PDF_UA1 | 12 | The PDF/UA-1 conformance level. |
Usage Example
from nutrient_sdk import PdfValidationConformance
# Access enum valuesvalue = PdfValidationConformance.AUTOprint(f"Value: {value}") # Output: Value: PdfValidationConformance.AUTOprint(f"Integer value: {value.value}") # Output: Integer value: 0