views:

196

answers:

1

Hello there,

I need the 100% .NET library to edit PDF Info like Author, Title, Creator, Subject and Keywords. All PDF libraries I tried are unable to do this without completely resaving the hole PDF documents. So for huge files (>35MB) it takes too much time. I need only to update several text fields (see above) and I don't need to resave the entire document for this.

Is there any lib that can do it like image libraries change IPTC/EXIF fields (without changing the original image)?

Thanks for any help, Murat

A: 

iTextSharp (hosted here) ?

RC
Thanks RC, I've downloaded iTextSharp and played a bit with it. But unfortunately on the samples I found in the Internet the only way to change PDF metadata is - Open the file, set info and save to ANOTHER file, not to the same one. Do you have any ideas to set the properties on the file itself?
Murat
According to iTextSharp doc, I agree the only way is to "copy" the pdf and add the data, sorry.
RC
Thanks in any way. I'll used it until PDF4NET team releases the new version of their product with such ability.
Murat