PDF on TOP of another

  • Hi,


    I would like to open a PDF file, add an other one that covers part of the firt page of the first one and export it or print it.

    How can I do that, something like overlay ?


    Many thanks.

    Best regards.

    • Official Post

    Yes, WPViewPDF can do this.

    {:: This functions loads data from a stream and return an identifyer for a given page.
    First call LoadPDFWatermarkFromStream and for all pages LoadPDFWatermarkStreamGetPage.
    Use the result of LoadPDFWatermarkStreamGetPage in
    wpviewpdf1.CommandStrEx( COMPDF_ApplyWatermark, '1', id ); // '1' is the page number or the range!
    }
    function LoadPDFWatermarkFromStream( Stream: TStream; StreamID : Word ): Integer;
    function LoadPDFWatermarkStreamGetPage( StreamID : Word; PageNo : Word ): Integer;