Modify Info / Metadata Properties of PDF File

Posted on 2006-05-11
Medium Priority
Last Modified: 2012-06-22
I need to be able to modify standard metadata properties (Title, Subject, Keywords, etc) and also add some custom properties.
The Acrobat SDK provides a SetInfo method to change these properties, and, I've read somewhere, that you can create a custom property simply by supplying your own key (property) instead of the name of a standard property. This is exactly what I want to achieve.
However, the latest version Acrobat SDK (version 7) that I've downloaded has a bug whereby the SetInfo method does not change the value of the property to what you specify.

Short of downloading an older version of Acrobat SDK, is there another easy to use thrid party SDK that I can use to modify standard properties and create custom properties? I've tried ActivePDF but can't seem to figure out how I can create custom properties there.

Any help would be most appreciated.
Question by:Afsarm
1 Comment
LVL 44

Accepted Solution

Karl Heinz Kremer earned 1500 total points
ID: 16657367
You could use the free pdftk tool (http://www.accesspdf.com/pdftk/).
Are you trying to modify the standard PDF document info structure, or the XML data? pdftk will only modify the (old) doc info, and not the XML representation.

How are you using the SDK (e.g. automation via VB, Acrobat plug-in, JavaScript)?

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe INTRODUCTION This Article is a follow-up to the Article entitled How To Rename-Move a Batch of PDF Files Based o…
The Adobe PDF proprietary file format is recognized as secure and formulated. But these PDF files are also prone to corruption and any external threat like virus attacks, improper storage can hit PDF file integrity.This type of damages can make cruc…
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question