Quoting Ning Zhao <[EMAIL PROTECTED]>:

> Hi all,
>
> by saying
>
> PdfReader reader = new PdfReader(inputFile);
> String xmpmeta = new String(reader.getMetadata());
>
> I got the xmp metadata of a pdf file as a string. The String xmpmeta is
> then modifed and I want to write the modified content back to the
> original pdf file. The old xmp metadata should be overwritten. How to do
> this with iText? Thanks!

Have you tried the method setXmpMetadata in PdfStamper?
--
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to