How to get bookmark name/id of current cursor

I need to get the bookmark(s) name or ids where the current cursor is at. Do we have a method or how can we traverse to get the closest bookmark.

Hello @agamdev

Unfortunately, there is no method to get the bookmark by cursor position. You can get all bookmarks in the document with GetAllBookmarksNames method.