easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

SetDocumentInfoXMP Method

Sets document information into a PDF file. This method provides addition to metadata setting similar to SetDocumentInfo, for use with Adobe Acrobat 8.0 and above.

Adobe Acrobat 8.0 and above use Adobe XMP (Extensible Metadata Platform) which is a standard for processing and storing standardized and proprietary metadata.

Sub SetDocumentInfoXMP(InputFileName As String,
                       OutputFileName As String,

void SetDocumentInfoXMP(string InputFileName,
                        string OutputFileName,
                        string Title,
                        string Author,
                        string Subject,
                        string Keywords,
                        string Creator)

void SetDocumentInfoXMP(String InputFileName,
                        String OutputFileName,
                        String Title,
                        String Author,
                        String Subject,
                        String Keywords,
                        String Creator) throws PDFProcessorException


Return Values



Document information can be viewed by selecting the "File"->"Document Properties" menu from Adobe Reader.

Example Usage

Set oProcessor = CreateObject("easyPDF.PDFProcessor.8")
oProcessor.SetDocumentInfoXMP "C:\test\input.pdf", _
                           "C:\test\output.pdf, _
                           Title:="Title here", _
                           Author:="Author here", _
                           Subject:="Subject here", _
                           Keywords:="Keywords here", _
                           Creator:="Creator here"