GroupDocsGists
10/19/2017 - 11:23 AM

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))