Method SetItems
- Namespace
- PaintDotNet.FileTypes
- Assembly
- PaintDotNet.FileTypes.dll
SetItems(IFileTypeExifMetadataTransaction, IEnumerable<KeyValuePair<ExifPropertyKey, ExifValue>>)
Sets multiple EXIF property items from key-value pairs.
public static void SetItems(this IFileTypeExifMetadataTransaction exifTx, IEnumerable<KeyValuePair<ExifPropertyKey, ExifValue>> items)
Parameters
exifTxIFileTypeExifMetadataTransactionThe EXIF metadata transaction.
itemsIEnumerable<KeyValuePair<ExifPropertyKey, ExifValue>>The key-value pairs that define the property items to set.
Remarks
If a property item already exists for any of the given paths, they will be overwritten. If the same path is encountered multiple times in the list of path-value pairs, every value will be used when writing out the corresponding metadata.
SetItems(IFileTypeExifMetadataTransaction, IEnumerable<KeyValuePair<ExifPropertyKey, IEnumerable<ExifValue>>>)
Sets multiple EXIF property items from key-values pairs.
public static void SetItems(this IFileTypeExifMetadataTransaction exifTx, IEnumerable<KeyValuePair<ExifPropertyKey, IEnumerable<ExifValue>>> items)
Parameters
exifTxIFileTypeExifMetadataTransactionThe EXIF metadata transaction.
itemsIEnumerable<KeyValuePair<ExifPropertyKey, IEnumerable<ExifValue>>>The key-value pairs that define the property items to set.
Remarks
If a property item already exists for any of the given paths, they will be overwritten. If the same path is encountered multiple times in the list of path-value pairs, every value will be used when writing out the corresponding metadata.