Skip to main content
Known Participant
April 17, 2017
Answered

How can I store data in a PDF

  • April 17, 2017
  • 1 reply
  • 777 views

Hi all;

First off, I have my plug in working (go me!). It doesn't do much, but it's running. In C#.

Question. I have some data I need to store in the PDF. This data is for the use of my plug-in only. It's ASCII (uuencoded). WHat/where is the best place to store it?

thanks - dave

This topic has been closed for replies.
Correct answer Karl Heinz Kremer

Create a private dictionary, prefixed with your developer ID and then store whatever you need in that dictionary. You can store your ASCII encoded data as a string, or as a stream. The only important thing here is that the dictionary name you create needs to be prefixed with your developer ID so that your data cannot interfere with anybody else's data.

This is from the SDK documentation: Acrobat DC SDK Documentation

1 reply

Karl Heinz  Kremer
Community Expert
Karl Heinz KremerCommunity ExpertCorrect answer
Community Expert
April 17, 2017

Create a private dictionary, prefixed with your developer ID and then store whatever you need in that dictionary. You can store your ASCII encoded data as a string, or as a stream. The only important thing here is that the dictionary name you create needs to be prefixed with your developer ID so that your data cannot interfere with anybody else's data.

This is from the SDK documentation: Acrobat DC SDK Documentation

Known Participant
April 17, 2017

thank you