HiddenDataSanitizationOptions.FlattenLayers

HiddenDataSanitizationOptions.FlattenLayers property

Gets or 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.

public bool FlattenLayers { get; set; }

See Also