Merge in one page

Merge in one page

Forum member · Feb 15, 2007
Can I merge contents of two pdf documents both containing less than a page width of content into another document in one page.

Re: Merge in one page

Support · Feb 16, 2007
Hello, You can add one or more pages data to a single page by using the ImportedPageData or ImportedPageArea classes. You can refer to the Placing Imported Pages topic on our help documentation for more details. Also you can refer to the PlacePDFs example downloaded with the product download. Thanks, ceTe Software Support Team.

Re: Merge in one page

Forum member · Feb 16, 2007
Thanks for the prompt reply. I have half page content in one document and more than half page content in another document. I want to merge these two contents into another document. When I import the contents and make a new document, the content doesnot spill into the second page. The contents get truncated. So how can I copy the remaining contents of the first page and make a second page in my output pdf. Thanks.

Re: Merge in one page

Support · Feb 19, 2007
Hello, It is not possible to split the contents of an existing page in order to place them in two different pages. You will have to add the whole page into the document as a separate page. Thanks, ceTe Software Support Team.

Re: Merge in one page

Forum member · Mar 13, 2007
I have 2 documents that I need to do merging. DocA : document that contain stuff that was merged previously by another application with a PDF template. DocB : document created without template. I need to merge the 2 documents together, DocA will be the upper part and DocB the bottom part on the page. I tried to use ImportedPageContents (DocC), but I always get missing merged fields from DocA. eg, DocA have 2 text fields and 2 label text fields, Lable Text 1 : Text Field1 Lable Text 2 : Text Field2 The above text fields are not be displayed, but the labels will be displayed. Why?

Re: Merge in one page

Support · Mar 13, 2007
Hello, The ImportedPageContents will not preserve the form fields, so it will not display the form fields or its values. However there is a work around for this. You have to flatten the form fields using the CreateLabel method and save the PDF to disk. Then use the saved PDF and pass it to the ImportedPageContents and it will display the flattened form field's text. Thanks, ceTe Software Support Team.