IXmpXmpPackage Property
Gets or sets the XMP metadata package.

Namespace: GroupDocs.Metadata.Standards.Xmp
Assembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 21.6
Syntax
XmpPacketWrapper XmpPackage { get; set; }

Property Value

Type: XmpPacketWrapper
The XMP metadata package.
Remarks
Examples
This code sample shows how to remove XMP metadata from a file.
C#
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