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

Free Support Forum - aspose.com

Word document bookmarks will come in the PDf document

hi,

I am using trail version “asspose.word” dll while converting Word to PDF,in the word document bookmark and hyperlink will appear in the PDf Document

Hi Dheeraj,


Thanks for your interest in Aspose.Words API. Yes, Aspose.Words preserves Bookmarks and Hyperlinks during rendering Word document to PDF. Moreover, you can specify the default level in the document outline at which to display Word bookmarks. Please see the following sample code:

Document doc = new Document(MyDir + @“in.docx”);

PdfSaveOptions options = new PdfSaveOptions();

options.OutlineOptions.DefaultBookmarksOutlineLevel = 9;

doc.Save(MyDir + @“out.pdf”, options);


Please let us know if we can be of any further assistance.

Best regards,