usmanazizgroupdocs
5/9/2016 - 4:35 PM

UpdateXMPPropertiesPdfFormat.vb

' For complete examples and data files, please go to https://github.com/groupdocs-metadata/GroupDocs.Metadata-for-.NET
' initialize Pdfformat
Dim pdfFormat As New PdfFormat(Common.MapSourceFilePath(filePath))

' get pdf schema
Dim pdfPackage As PdfPackage = pdfFormat.XmpValues.Schemes.Pdf

' update keywords
pdfPackage.Keywords = "literature, programming"

' update pdf version
pdfPackage.PdfVersion = "1.0"

' pdf:Producer could not be updated
'pdfPackage.Producer="";

'save output file...
pdfFormat.Save(Common.MapDestinationFilePath(filePath))