Hi all,
I want to know if there any method in pdf or pdf.kit control can do that merge 2 different pages into 1 page in pdf?
Hi all,
I want to know if there any method in pdf or pdf.kit control can do that merge 2 different pages into 1 page in pdf?
Hi Walter,
You can merge two PDF files using Concatenate method of Aspose.Pdf.Kit. Please have a look at this example.
If you find any further questions, please do let us know.
Regards,
This method only concatenate 2 PDF into 1PDF, I want to know is that 2 PDF file, and both only contain 1 page, then merge these 2 PDF into 1 PDF and it still contain 1 page.
Or is there any method to add pagination automatically?
What I want to do is merge HelloCSharpDLLWorld.pdf to pagination.pdf, then make the output pdf contains HelloCSharpDLLWorld.pdf content, and pagination.pdf pagination.
I have tried to use Aspose.pdf control and Aspose.pdf.kit control to handle it, but did not find out the solution.
Hi Walter,
I’m afraid, the way you’re trying to merge the PDF files is not feasible at the moment. However, you may try to add page number to the existing PDF file using Aspose.Pdf.Kit. Please have a look at this topic.
I hope this helps. If it doesn’t resolve your issue then please do let us know.
Regards,
thanks for help. Actually I have read this topic, but I found that, the new page number is different from the first pdf.
First pdf have page number, second pdf does not have page number. First of all, I add page number in to the second pdf, then insert the second pdf into the first pdf output the third pdf (out pdf). And found that there are 2 different page number styles in out pdf... I don't know how to get the page number style from the first pdf.
Hi Walter,
I’m afraid, Aspose.Pdf.Kit can’t adjust the page numbers automatically, if they’re present in the PDF already. What I was suggesting was that you do not add the page numbers in the PDF in the first place, however once the PDF files are concatenated, you may apply the page numbers. In this way, the page numbers will be consistent. Is that a feasible option in your scenario?
Regards,