Hello ,
I have two questions .
1)
I make a pdf with itextsharp (c# , .net) .
When i save it local (i have pdf reader 8.0) then everything is fine . I can
open it and i can read it.
But when i mail it to someone else , then they can't open the file . It's
says it's damaged.
Anyone ?
2)
I need to add an existing pdf file to my created pdf file. Now the problem
is that i use the
OnEndPage() method (for adding a header and footer , with tables and stuff)
. I can add my existing file like this ;
PdfReader reader = new PdfReader("blabla.pdf");
PdfImportedPage page1 = writer.GetImportedPage(reader, 1);
document.NewPage();
writer.DirectContent.AddTemplate(page1, 0, 0);
Now he add's the page but the function OnEndPage() is called again. I don't
want that . I need to add the "blabla.pdf" , clean (so no adding of footers
and header on that page).
I you need more info , please let me know.
Greetings
__________________________________________________________________________________________________________________________________
The information in this e-mail is strictly confidential. If you are not the
intended recipient, any disclosure, copying, distribution, or any action taken,
or omitted to be taken, in reliance upon it, is forbidden and may be unlawful.
Any e-mail attachment may contain software viruses that could damage your own
computer system. Whilst reasonable precaution has been taken to minimise this
risk, we cannot accept liability for any damage that you sustain as a result of
software viruses. You should therefore carry out your own virus checks before
opening any attachments.
__________________________________________________________________________________________________________________________________
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/