FlattenSettings
Overview
FlattenSettings is a class in Aspose.Pdf FOSS for Java.
Settings that control how form fields are flattened into page content.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
applyRedactions | boolean | Read | Returns whether redaction annotations should be applied during flattening. |
hideButtons | boolean | Read | Returns whether button fields should be hidden (not rendered) during flattening. |
updateAppearances | boolean | Read | Returns whether field appearances should be updated before flattening. |
callEvents | boolean | Read | Returns whether events should be triggered during flattening. |
Methods
| Signature | Description |
|---|---|
FlattenSettings() | Creates a new FlattenSettings with default values. |
isApplyRedactions() → boolean | Returns whether redaction annotations should be applied during flattening. |
getApplyRedactions() → boolean | Returns whether redaction annotations should be applied during flattening. |
setApplyRedactions(applyRedactions: boolean) | Sets whether redaction annotations should be applied during flattening. |
isHideButtons() → boolean | Returns whether button fields should be hidden (not rendered) during flattening. |
getHideButtons() → boolean | Returns whether button fields should be hidden (not rendered) during flattening. |
setHideButtons(hideButtons: boolean) | Sets whether button fields should be hidden (not rendered) during flattening. |
isUpdateAppearances() → boolean | Returns whether field appearances should be updated before flattening. |
getUpdateAppearances() → boolean | Returns whether field appearances should be updated before flattening. |
setUpdateAppearances(updateAppearances: boolean) | Sets whether field appearances should be updated before flattening. |
isCallEvents() → boolean | Returns whether events should be triggered during flattening. |
getCallEvents() → boolean | Returns whether events should be triggered during flattening. |
setCallEvents(callEvents: boolean) | Sets whether events should be triggered during flattening. |