PdfSavePreferences
Specifies preferences for saving PDF documents.
from nutrient import PdfSavePreferencesValues
| Name | Value | Description |
|---|---|---|
PdfSavePreferences.NONE | 0 | No specific preferences are set. |
PdfSavePreferences.APPLY_REDACTIONS | 1 | Automatically apply redaction annotations when saving PDF documents. When enabled, all redaction annotations are applied (content is permanently removed) during save operations. The redaction annotations are removed after applying. |
Usage Example
from nutrient import PdfSavePreferences
# Access enum valuesvalue = PdfSavePreferences.NONEprint(f"Value: {value}") # Output: Value: PdfSavePreferences.NONEprint(f"Integer value: {value.value}") # Output: Integer value: 0