Bookmark

data class Bookmark(val title: String, val pageIdx: Long = 0, val children: ArrayList<Bookmark> = arrayListOf(), val mNativePtr: Long = -1)

Represents a bookmark (outline) in a PDF document.

Parameters

title

The title of the bookmark.

pageIdx

The page index of the bookmark.

children

The list of child bookmarks.

mNativePtr

The native pointer to the bookmark object (optional).

Constructors

Link copied to clipboard
constructor(title: String, pageIdx: Long = 0, children: ArrayList<Bookmark> = arrayListOf(), mNativePtr: Long = -1)

Properties

Link copied to clipboard
Link copied to clipboard

Returns whether this bookmark has child bookmarks.

Link copied to clipboard
Link copied to clipboard
val pageIdx: Long = 0
Link copied to clipboard