PdfDestination
data class PdfDestination(val view: PdfDestination.ViewFit, val pageIndex: Int?, val args: DoubleArray)
A resolved page destination (ISO 32000-1 §12.3.2). Holds the destination's target page (when we can resolve it) and the view-fit parameters.
Construct via PdfDocument.resolveDestination — it handles all four forms:
An explicit array
[page /XYZ left top zoom]A name-string referring into the catalog
/Destsdict (PDF 1.1)A name-string referring into the
/Names /Destsname tree (PDF 1.2+)A dictionary with
/Dpointing at any of the above