Table of Contents

Method SetItems

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

SetItems(IEnumerable<KeyValuePair<IptcPropertyKey, IptcValue>>)

Sets multiple IPTC property items from key-value pairs.

void SetItems(IEnumerable<KeyValuePair<IptcPropertyKey, IptcValue>> items)

Parameters

items IEnumerable<KeyValuePair<IptcPropertyKey, IptcValue>>

The key-value pairs that define the property items to set.

Remarks

If a property item already exists for any of the given keys, they will be overwritten. If the same key is encountered multiple times in the list of key-value pairs, every value will be used when writing out the corresponding metadata.

SetItems(IEnumerable<KeyValuePair<IptcPropertyKey, IEnumerable<IptcValue>>>)

Sets multiple IPTC property items from key-values pairs.

void SetItems(IEnumerable<KeyValuePair<IptcPropertyKey, IEnumerable<IptcValue>>> items)

Parameters

items IEnumerable<KeyValuePair<IptcPropertyKey, IEnumerable<IptcValue>>>

The key-values pairs that define the property items to set.

Remarks

If a property item already exists for any of the given keys, they will be overwritten. If the same key is encountered multiple times in the list of key-values pairs, every value will be used when writing out the corresponding metadata.

SetItems(IEnumerable<IptcPropertyItem>)

Sets multiple IPTC property items from a list of IptcPropertyItems.

void SetItems(IEnumerable<IptcPropertyItem> items)

Parameters

items IEnumerable<IptcPropertyItem>

The property items to set.

Remarks

If a property item already exists for any of the given keys, they will be overwritten. If the same key is encountered multiple times in the list of property items, every value will be used when writing out the corresponding metadata.