Question
Is it possible to create PDF Bookmarks in FineReader Engine?
Answer
A tree-like bookmark structure is currently not supported in FineReader Engine, however, bookmarks can be created as clickable local hyperlinks.
A hyperlink can be assigned to a word or phrase, and another word or phrase can be set as the destination point where the hyperlink leads.
The steps for creating such a bookmark are as follows:
- Create a bookmark using the IParagraph::SetBookmark method.
- Create a hyperlink using the IEngine::CreateHyperlink method.
- Set the value of the IHyperlink::Scheme property to HS_Local to make the hyperlink local.
- Set the destination for the hyperlink using the IHyperlink::Target property. The value should consist of the UserDefinedBookmark: prefix followed by the name of the bookmark created in step 1, e.g. UserDefinedBookmark:my_local_bookmark.
- Create a clickable hyperlink at the specified word or phrase using the IParagraph::SetHyperlink.
Comments
0 comments
Please sign in to leave a comment.