Hi ,
I have concatenated 5 pdf files and generated a combined PDF. Now I need to display a bookmark for individual pdfs in the tray of the combined pdf. How can I do this ?
Code Sample :
//create input and output file streams
FileInputStream inStream1 = new FileInputStream("C:\\AsposeTest\\aug\\1.pdf");
FileInputStream inStream2 = new FileInputStream("C:\\AsposeTest\\aug\\2.pdf");
FileInputStream inStream3 = new FileInputStream("C:\\AsposeTest\\aug\\3.pdf");
FileInputStream inStream4 = new FileInputStream("C:\\AsposeTest\\aug\\4.pdf");
FileInputStream inStream5 = new FileInputStream("C:\\AsposeTest\\aug\\5.pdf");
FileOutputStream outStream = new FileOutputStream("C:\\AsposeTest\\aug\\FINAL.pdf");
//create array of input streams
InputStream[] inStreams = new InputStream[] {
inStream1, inStream2, inStream3, inStream4, inStream5};
//concatenate the input files from array of input streams
pdfEditor.concatenate(inStreams, outStream);
System.out.println("DONE....");
I am able to get the FINAL pdf . But I need a link for each files in the book mark tray of FINAL pdf, so that when i click on one link it will take me to respective file.
I am using Aspose 2.9.0