XmpPackage
Leave feedback
On this page
Gets or sets the XMP metadata package.
public XmpPacketWrapper XmpPackage { get; set; }
The XMP metadata package.
Learn more
This code sample shows how to remove XMP metadata from a file.
using (Metadata metadata = new Metadata(Constants.JpegWithXmp))
{
IXmp root = metadata.GetRootPackage() as IXmp;
if (root != null)
{
root.XmpPackage = null;
metadata.Save(Constants.OutputJpeg);
}
}
- class XmpPacketWrapper
- interface IXmp
- namespace GroupDocs.Metadata.Standards.Xmp
- assembly GroupDocs.Metadata
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.