Looks up a /Dest by its name string and returns the same kind
of row pdf_doc_named_dests() surfaces — page, view, x, y, zoom.
Useful for following cross-document references such as
RemoteGoTo actions that carry a destination name rather than
a page index.
Arguments
- doc
A
pdfium_docfrompdf_doc_open(), or a character path.- name
Single non-empty character string.
- password
Optional password for encrypted PDFs when
docis a path. Ignored whendocis already an openpdfium_doc.
Value
A list with found (logical), page (integer, 1-based,
NA when not resolvable), and dest_view / dest_x /
dest_y / dest_zoom (same shape as the corresponding
columns on pdf_doc_named_dests()). found = FALSE and all
other fields NA when the name is not in the destination
table.
Details
Wraps FPDF_GetNamedDestByName plus FPDFDest_GetDestPageIndex
/ FPDFDest_GetView / FPDFDest_GetLocationInPage.