Skip to content

PDFDocumentProxy.getDestination method

PDFDocumentProxy › getDestination

Unofficial

Gets a named destination.

Signature:

getDestination(id: string): Promise<null | unknown[]>

Parameters:

Parameter Type Description
id string The destination identifier.

Returns: Promise<null | unknown[]>A promise resolving to the destination, or null if not found.