Hi Aslam,
Thanx for the information Aslam. So can we do this is any way using any of the latest Aspose API.
I tried the evaluation version of the PDF 7.4. But i couldnt achieve what i wanted to.
I took a destination PDF (from scratch) and added some text into it.
I took another PDF, source PDF (already saved with 3 pages) and appended these three pages to the destination PDF.
Pdf destnPDF = new Pdf();
Document destnDoc = new Document(destnPDF);
//add some text to this pdf
//create a sourcePDF by reading a saved file,
//add its pages to the destination pdf.
//save destination pdf - either using Pdf or Document
Problem -
When i save the destination PDF using PDF class i got the text but not the three slides.
When i save the destination using the Document class, i got the three slides but not the text.
What i want to do is -
1. Theres a destination PDF which i am creating from scratch by adding some sections and text to it programatically using Aspose. It is not yet saved to disk as a file. The instance is in memory.
2. I pick up a source PDF, already created & saved to disk.
3. I put all the content of source to destination but it should start appending from destination’s next page onwards(like we have page break function in MS Word).
4.i continue adding stuff to the destination PDF.
5. lastly i save the destination PDF to disk.
Its like while creating a PDF(destination, from scratch) i am appending some content to it from a different saved PDF file.
How can i achieve this? I earlier thought that it is possible with Document.Pages.Add() method but i have already mentioned the problem in that case. Please help.