Table of Contents

Field IptcSectionName

Namespace
PaintDotNet
Assembly
PaintDotNet.Data.dll

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

public const string IptcSectionName = "$iptc"

Returns

string

Remarks

All entries in here are expected to be IptcPropertyItem objects which were serialized using IptcPropertyItemSerializer.Serialize. The name of each entry in this section is irrelevant, as some files may have IPTC tags that occur more than once. Thus, if you want to search for IPTC tags of a certain ID you will have to deserialize each one and compare the Key property.
The key may be either a friendly name or the IPTC record and dataset numbers stored as a big-endian UInt16 integer.
WIC projects some of the properties it understands as a friendly name. For example, IPTC property 2:120 will be displayed as "Caption" instead of its integer value 632.
If a property is set using both its friendly name and integer value the result is undefined.
It is the responsibility of the FileType implementation to load and save these.