At 01:19 PM 8/4/2006, Zhi Ren wrote:
>Maybe this is a stupid question. we know we cannot
>modify the content of an existing PDF file,
You can - but not with iText.
>My question
>is: if I use iText to add an image or an paragraph
>into an existing PDF file, can I delete the image or
>the paragraph later with iText?
Again, not with iText.
iText doesn't support READ access to content ONLY WRITE.
>My thought is: because
>the image was added into a PDF file by myself, I know
>exactly where I put there and all the other infomation
>about the image,
You do??
You know what PDF object ID it is? You know where it is in
the content stream?
>so is those enough to enable me to delete the image later with iText?
Yes, if you want to do some work...
Leonard
---------------------------------------------------------------------------
Leonard Rosenthol <mailto:[EMAIL PROTECTED]>
Chief Technical Officer <http://www.pdfsages.com>
PDF Sages, Inc. 215-938-7080 (voice)
215-938-0880 (fax)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions