'For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
' initialize JpegFormat
Dim jpegFormat As New JpegFormat(Common.MapSourceFilePath(filePath))
Const dcFormat As String = "test format"
Dim dcContributors As String() = {"test contributor"}
Const dcCoverage As String = "test coverage"
Const phCity As String = "NY"
Const phCountry As String = "USA"
Const xmpCreator As String = "GroupDocs.Metadata"
jpegFormat.XmpValues.Schemes.DublinCore.Format = dcFormat
jpegFormat.XmpValues.Schemes.DublinCore.Contributors = dcContributors
jpegFormat.XmpValues.Schemes.DublinCore.Coverage = dcCoverage
jpegFormat.XmpValues.Schemes.Photoshop.City = phCity
jpegFormat.XmpValues.Schemes.Photoshop.Country = phCountry
jpegFormat.XmpValues.Schemes.XmpBasic.CreatorTool = xmpCreator
' commit changes
jpegFormat.Save(Common.MapDestinationFilePath(filePath))