HiddenDataSanitizationOptions.All

HiddenDataSanitizationOptions.All method

Creates a new instance of the HiddenDataSanitizationOptions class with all options set for sanitization. This includes enabling the removal of annotations, JavaScript, metadata, attachments, search index, private information, flattening of forms and layers, while disabling the option to convert pages to images. Optional configurations like ImageCompressionOptions or ConvertPagesToImages can be manually modified after obtaining the instance, as they are not active by default.

public static HiddenDataSanitizationOptions All()

Return Value

A HiddenDataSanitizationOptions instance with all sanitization options preconfigured.

See Also