addBookmark

abstract fun addBookmark(@NonNull bookmark: Bookmark): Boolean

Adds a new bookmark to the document.

Return

true if bookmark was actually added, false otherwise.

Parameters

bookmark

Bookmark to be added to the document.

Throws

If an error occurred while adding the bookmark.