Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public final class PdfBookmark

  1. Object
  2. PdfBookmark
An entry of the document outline, the table of contents a reader shows in its side panel. Created by PdfDocument.addBookmark(String, PdfPage, float) or, for a nested entry, by addChild(String, PdfPage, float).

Methods

public PdfBookmark addChild(String title, PdfPage page, float y)Adds a nested entry that jumps to y points from the top of page.
public String getTitle()The text shown for this entry.

Inherited methods

Method details

addChild

public PdfBookmark addChild(String title, PdfPage page, float y)
Adds a nested entry that jumps to y points from the top of page.

getTitle

public String getTitle()
The text shown for this entry.