Set XMP Metadata of an existing PDF

Contents
[ ]

In order to set XMP metadata in a PDF file, you need to create PdfXmpMetadata object and bind the PDF file using BindPdf method. You can use Add method of the PdfXmpMetadata class to add different properties. Finally, call the Save method of the PdfXmpMetadata class. The following code snippet shows you how to add XMP metadata in a PDF file.