namedDestination

open fun namedDestination(name: String, y: Float)

Registers a named destination at the given vertical position on the current page. Internal links created with linkToDestination (possibly on other pages, before or after this one) jump here.

Backends without navigation support (Android PdfDocument) default to a no-op.