XmpPackage
IXmp.XmpPackage property
Gets or sets the XMP metadata package.
public XmpPacketWrapper XmpPackage { get; set; }
Property Value
The XMP metadata package.
Remarks
Learn more
Examples
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);
}
}
See Also
- class XmpPacketWrapper
- interface IXmp
- namespace GroupDocs.Metadata.Standards.Xmp
- assembly GroupDocs.Metadata