Click here to Skip to main content
16,017,922 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to set metadata in PDF (File --> Document Properties --> Summary) using a C# ?

I need to write a program that can set metadata on PDF file (File --> Properties --> Summary/Keywords) using a program. Metadata that needs to be set is Title, Author, Subject and keywords. Can someone help? Is there any sample code that I could start with?
Posted

1 solution

C# or .Net does not have any in-built support for PDFs. Infact, you don't need any PDF support in this particular case.

This article can give you a headstart.

http://www.andrewdothay.net/blog/2010/08/16/HowToEditMetaDataInsideJPGFilesWithC.aspx[^]
 
Share this answer
 
Comments
ajirahman 4-Sep-12 2:34am    
hi Manas,
Thanks for sharing the above link.
Is it possible "pdfbox.net" to set metadata.if anyone has done, do let me know..

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