I need to get the content along with format when we select particular bookmark in the PDF document.
Hi Srini,
Hello,
Thanks for the update.
It’s only for getting bookmarks from the PDF document, but we need to get the content along with format by passing particular bookmark in the PDF document
Thanks
Hi Srini,
PdfBookmarkEditor editor = new
PdfBookmarkEditor();<o:p></o:p>
editor.BindPdf(myDir+"Bookmark.pdf");
Aspose.Pdf.Facades.Bookmarks bms = editor.ExtractBookmarks("bookmark1");
foreach (Aspose.Pdf.Facades.Bookmark bm in bms)
{
Console.WriteLine("Title: {0}",bm.Title);
Console.WriteLine("Destination: {0}", bm.Destination);
Console.WriteLine("PageNumer: {0}", bm.PageNumber);
Console.WriteLine("level: {0}", bm.Level);
Console.WriteLine("Action: {0}", bm.Action);
}
Please feel free to contact us for any further assistance.
Best Regards,