Remove Metadata

Remove all recognized metadata properties from a file

Sometimes you may need to just remove all or clean metadata properties without applying any filters. The best way to do this is to use the Sanitize method.

This example demonstrates how to remove all detected metadata packages/properties.

  1. Load a file
  2. Call the Sanitize method
  3. Check the actual number of removed packages/properties
  4. Save the changes

Example

As a result, we get a sanitized version of the original file.