usmanazizgroupdocs
3/7/2016 - 6:01 PM

UpdateExifPropertiesTiffImage.vb

'For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
' initialize TiffFormat
Dim tiffFormat As New TiffFormat(Common.MapSourceFilePath(filePath))

' get EXIF data
Dim exif As ExifInfo = tiffFormat.GetExifInfo()

exif.UserComment = "New User Comment"
exif.BodySerialNumber = "New Body Serial Number"
exif.CameraOwnerName = "New Camera Owner Name"

' update EXIF info
tiffFormat.UpdateExifInfo(exif);

' commit changes and save output file
tiffFormat.Save(Common.MapDestinationFilePath(filePath))