Problems using PDF's as watermarks!

  • Hello,
    Our application reads some PDF files, use them as watermarks and add some information simulating a header and footer.

    The problem is that it works fine with some PDF’s and it does not with others. I am sure that I am missing something but I cannot identify it, can you help me out so that my application can read whatever kind of PDF.

    Here is the piece of code I am using...

    If you need me to send you an example of a PDF that works and other that does not, let me know.

    Thank you,

    Ernesto