Aspose::Pdf::Security::HiddenDataSanitization::HiddenDataSanitizationOptions::set_FlattenLayers method

HiddenDataSanitizationOptions::set_FlattenLayers method

Sets the option to flatten the layers in the PDF document. When enabled, all layers in the document are merged into a single layer, removing their separate structure. This option is useful for sanitizing documents by simplifying their content and ensuring no hidden data resides within layers.

void Aspose::Pdf::Security::HiddenDataSanitization::HiddenDataSanitizationOptions::set_FlattenLayers(bool value)

See Also