We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Creating interactive PDF's

Hi.

We’ve build a comprehensive and powerful document generator based on ASPOSE.WORDS. (Thanks for that!)

My manager just called me in with a new requirement. They now want to build an “interactive PDF” document. That is: you build in links in your document that will take you to bookmarked pages. Can ASPOSE produce such a document?

We have a meeting tomorrow morning 09:00 where we will discuss it, (It’s now 16:40) If you can let me know before then, that would be brilliant.

Regards

@Hannodb

Thanks for your inquiry. You can easily achieve your requirements using PdfSaveOptions class. Please check following code snippet to export Bookmarks from Word document in PDF document. You can also export Headings from Word document as bookmark in PDF document.

Document document = new Document("Input.docx");
PdfSaveOptions options = new PdfSaveOptions();
//export Bookmarks in PDF document
options.OutlineOptions.DefaultBookmarksOutlineLevel= 9;
//export Headings as Bookmarks in PDF document
//options.OutlineOptions.HeadingsOutlineLevels = 9;
document.Save("Out.pdf", options);

Thanks. I’ll check it out.