Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone,

I want to add tags to existing PDF with notepad, and then implement this with MFC by the I/O ofstream via text-mode. I want to know specific principles rather than using
Adobe Acrobat or other PDF tools. I want to tag the PDF by myself!

Any help would be greatly appreciated!
Posted

1 solution

You cannot do this, since PDF files are not simple streams, but have a specific table based structure. You can use one of the third-party libraries such as iTextSharp[^], or get the document specification from Adobe and write your own.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900