Is it possible to create PDF Bookmarks in FineReader Engine?

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:

  1. Create a bookmark using the IParagraph::SetBookmark method.
  2. Create a hyperlink using the IEngine::CreateHyperlink method.
  3. Set the value of the IHyperlink::Scheme property to HS_Local to make the hyperlink local.
  4. 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.
  5. Create a clickable hyperlink at the specified word or phrase using the IParagraph::SetHyperlink.

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Recently viewed