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

Free Support Forum - aspose.com

setBookmarksOutlineLevel() method deprecated

we have discovered that the PDFSaveOptions method ‘setBookmarksOutlineLevel()’ has been deprecated, but we couldn’t find info on which method should be used instead to replace it.
Any help ?
Many thanks in advance.


Thanks for your inquiry. Please use OutlineOptions.DefaultBookmarksOutlineLevel property instead of PdfSaveOptions.BookmarksOutlineLevel as shown below.

PdfSaveOptions options = new PdfSaveOptions();