We combine/concatenate multiple documents of different types (word, excel, images…) in to a single PDF and generate bookmarks. After creating the bookmarks is there a way to programmatically make the bookmarks visible to users by default without the need for user to explicitly choose to view bookmarks after opening the document?
You may use
ChangeViewerPreference method of PdfContentEditor class to show the
bookmark panel by default. Please use the following code snippet to
achieve the goal:
//create PdfContentEditor object
PdfContentEditor editor = new PdfContentEditor();
//bind input PDF file
//change Viewer Preferences
//save output PDF file
I hope this helps. If you have any further questions, please do let us know.