Does anyone know how to insert a pdf into another PDF

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
etlee
Posts: 5
Joined: Mon Apr 26 2004
Location: LA

Does anyone know how to insert a pdf into another PDF

Post by etlee »

Hello all,

i am using the developer version of amyuni PDF Convertor in my vb6 program. Does anyone know how to insert a PDF file into another PDF file at a specific page? I try the print function, but it said the function is not define. :?:

thanks in advance

Eric Lee
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

The PDF Converter enables you to Append two pdf files together, one at the end of the other.

If you want to insert a pdf file at a specific location of another pdf you can use a new function of the PDF Converter called Split.

Here is the procdure to follow:
1- You will first split your pdf document in tow parts (pdf1) and (pdf2) using the SplitXY function that splits a document at a specific location.
2 - Second you append the first part of your document (pdf1) with the other pdf file using the Append or AppendEx function You will get (pdfA)
3 Finally you append the second part of the document (pdf2) to the resulting file (pdfA)

The SplitXY and Append functions are available in the Document Interface of CDIntf. SplitXY functinon is a very new function to use it please check that you have the latest version of the PDF Converter.

If you need more information about the above or a sample code please contact our Technical Support department support@amyuni.com

Best Regards.
etlee
Posts: 5
Joined: Mon Apr 26 2004
Location: LA

More question.

Post by etlee »

Hello,

thank you for the reply. i got couple more questions relate to the splitXY function.

i just downloaded the update 2.10i, but i cannot find the definition for the spiltXY function. Can you give me the definition of the function like what is xpos and ypos. Also is the spiltXY function available in the dll interface? how about the pagecount function in activeX, is it available in the dll interface? if they do, can you give me the definition for it.

thanks again :shock:

Eric Lee
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

SplitXY and PageCount are available only in the ActiveX interface (CDIntfEx.Document).

SplitXY takes 3 parameters the document name, Xpos and Ypos.

Xpos and Ypos designate the postion at which you want to split the document, these are in twips.

PageCount takes one argument, the document name and returns the number of pages in that document as long.

For mor information about these functions please contact support@amyuni.com

Have a nice day.
Post Reply