Table of Contents

Class Metadata

Namespace
PaintDotNet
Assembly
PaintDotNet.Data.dll

This class exposes two types of metadata: system, and user. It is provided mostly for batching operations: loading all the data, modifying the copy, and then saving back all the data.

public sealed class Metadata : ICloneable
Inheritance
Metadata
Implements
Inherited Members
Extension Methods

Fields

ExifSectionName

This is the name of the section where EXIF tags are stored.

IptcSectionName

This is the name of the section where IPTC tags are stored.

SectionSeparator

This string is used to concatenate a section and a name in order to form a key.

UserSectionName

This is the name of the section where user-defined metadata may go.

XmpSectionName

This is the name of the section where XMP metadata packets go.

Methods

AddExifPropertyItem(ExifSection, ushort, ExifValue)
AddExifPropertyItems(ExifSection, ushort, IEnumerable<ExifValue>)
AddIptcPropertyItem(IptcPropertyItem)
Clear()
Clone()
GetExifPropertyItems()
GetExifPropertyItems(ExifSection, ushort)
GetExifPropertyPaths()
GetIptcPropertyItems()
GetNames(string)
GetSections()
GetUserValue(string)
GetValue(string, string)

Gets a value from the metadata collection.

RemoveExifPropertyItems(ExifSection, ushort)
RemoveIptcPropertyItems(IptcPropertyItem)
RemoveIptcPropertyItems(IptcPropertyKey)
RemoveUserValue(string)
RemoveValue(string, string)

Removes a value from the metadata collection.

RemoveXmpPacket()
ReplaceExifPropertyItems(ExifSection, ushort, ExifValue)
ReplaceExifPropertyItems(ExifSection, ushort, IEnumerable<ExifValue>)
ReplaceWithDataFrom(Metadata)
SetUserValue(string, string)
SetValue(string, string, string)

Sets a value in the metadata collection.

SetXmpPacket(XmpPacket)
TryGetXmpPacket()