Table of Contents

Method SetItem

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

SetItem(IptcPropertyKey, IptcValue)

Sets an IPTC property item with a single value.

void SetItem(IptcPropertyKey key, IptcValue value)

Parameters

key IptcPropertyKey

The IPTC property key.

value IptcValue

The value to set.

Remarks

If a property item already exists for the given key, it will be overwritten.

SetItem(IptcPropertyKey, IEnumerable<IptcValue>)

Sets an IPTC property item with multiple values.

void SetItem(IptcPropertyKey key, IEnumerable<IptcValue> values)

Parameters

key IptcPropertyKey

The IPTC property key.

values IEnumerable<IptcValue>

The values to set.

Remarks

If a property item already exists for the given key, it will be overwritten.

SetItem(IptcPropertyItem)

Sets an IPTC property item with a single value.

void SetItem(IptcPropertyItem item)

Parameters

item IptcPropertyItem

The property item to set.

Remarks

If a property item already exists for the given key, it will be overwritten.