FlattenSettings
Overview
FlattenSettings is a class in Aspose.PDF FOSS for .NET.
Settings for Flatten(FlattenSettings).
Properties: ApplyRedactions, CallEvents, HideButtons, UpdateAppearances.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
HideButtons | bool | Read/Write | When true, button widgets (XFA <button> nodes) are marked presence=“hidden” before the flatten step so they are not rasterised into the resulting page content. |
CallEvents | bool | Read/Write | When true, JavaScript and other field events are run during flatten (e.g. |
UpdateAppearances | bool | Read/Write | When true, each field’s appearance stream is regenerated from its current value before being flattened into page content. |
ApplyRedactions | bool | Read/Write | When true, redaction annotations are applied during the flatten pass. |