Posted by a ceTe Software moderator
Hello Siva,
Here is the code that you can use to get the outlines page number in v5. This is not supported in v4.
PdfDocument pdf = new PdfDocument("F:/temporary/AllPageElements.pdf");
MergeDocument doc=new MergeDocument(pdf);
int pagenumer = pdf.getOutlines().getPdfOutline(0).getTargetPageNumber();
String name = pdf.getOutlines().getPdfOutline(0).getText();
doc.draw("F:/temporary/Hello.pdf");
Thanks,
ceTe Software Support Team.