Modify Info / Metadata Properties of PDF File

Posted on 2006-05-11
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

    You could use the free pdftk tool (
    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

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    The ability to edit PDF documents can be useful, however it may not be a straight forward process. Many non-technical people don't realise that a PDF document is basically an image rather than a text file, even if it contains nothing but text. If…
    *Adobe Acrobat 9 was used for this article.  Particular steps may vary depending on software versions. Adobe Acrobat has many, many variables that my be utilized to customize your forms for clarity and ease of use. The Form Editing Tool will be y…
    In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now