FlattenSettings

FlattenSettings

Overview

FlattenSettings is a class in Aspose.PDF FOSS for .NET.

Settings for Flatten(FlattenSettings).

Properties: ApplyRedactions, CallEvents, HideButtons, UpdateAppearances.

Properties

NameTypeAccessDescription
HideButtonsboolRead/WriteWhen true, button widgets (XFA <button> nodes) are marked presence=“hidden” before the flatten step so they are not rasterised into the resulting page content.
CallEventsboolRead/WriteWhen true, JavaScript and other field events are run during flatten (e.g.
UpdateAppearancesboolRead/WriteWhen true, each field’s appearance stream is regenerated from its current value before being flattened into page content.
ApplyRedactionsboolRead/WriteWhen true, redaction annotations are applied during the flatten pass.

See Also