Hi,
while merging two pdf document with bookmarks i am getting below error,the related code mentioned below
"Object can’t be modified in this Registar. Use Export (recursive) and then try again.
"
Code:
Aspose.Pdf.Document pdfDocument11 = new Aspose.Pdf.Document( “R3.pdf”);
//open second document
Aspose.Pdf.Document pdfDocument2 = new Aspose.Pdf.Document( “R33.pdf”);
pdfDocument11.Pages.Add(pdfDocument2.Pages);
foreach (OutlineItemCollection item in pdfDocument2.Outlines)
pdfDocument11.Outlines.Add(item);
pdfDocument11.Save( “R33output.pdf”);