## FlattenSettings class


Class which describes settings for [Form](../) flattening procedure.

```cpp
class FlattenSettings : public System::Object
```

## Methods

| Method | Description |
| --- | --- |
| [FlattenSettings](./flattensettings/)() |  |
| [get_ApplyRedactions](./get_applyredactions/)() const | If true, redaction specified Redaction annotation will be applied. |
| [get_CallEvents](./get_callevents/)() const | If set, formatting and other JavaScript events will be called. True by default. |
| [get_HideButtons](./get_hidebuttons/)() const | If set, buttons will be removed from flattened document. False by default. |
| [get_UpdateAppearances](./get_updateappearances/)() const | If set, all field appearances will be regenerated before flattening. This option may help if field is incorrectly flattened. This option may decrease performance. By default set to false. |
| [set_ApplyRedactions](./set_applyredactions/)(bool) | If true, redaction specified Redaction annotation will be applied. |
| [set_CallEvents](./set_callevents/)(bool) | If set, formatting and other JavaScript events will be called. True by default. |
| [set_HideButtons](./set_hidebuttons/)(bool) | If set, buttons will be removed from flattened document. False by default. |
| [set_UpdateAppearances](./set_updateappearances/)(bool) | If set, all field appearances will be regenerated before flattening. This option may help if field is incorrectly flattened. This option may decrease performance. By default set to false. |
## See Also

* Class [Object](../../../system/object/)
* Class [Form](../)
* Namespace [Aspose::Pdf::Forms](../../)
* Library [Aspose.PDF for C++](../../../)
