IptcPackage

IIptc.IptcPackage property

Gets or sets the IPTC metadata package associated with the file.

public IptcRecordSet IptcPackage { get; set; }

Property Value

The IPTC metadata package associated with the file.

Remarks

Learn more

Examples

This code sample shows how to remove IPTC metadata from a file.

using (Metadata metadata = new Metadata(Constants.JpegWithIptc))
{
    IIptc root = metadata.GetRootPackage() as IIptc;
    if (root != null)
    {
        root.IptcPackage = null;

        metadata.Save(Constants.OutputJpeg);
    }
}

See Also