FPDFLink_GetDest method

FPDF_DEST FPDFLink_GetDest(
  1. FPDF_DOCUMENT document,
  2. FPDF_LINK link
)

Get destination info for |link|.

document - handle to the document. link - handle to the link.

Returns a handle to the destination, or NULL if there is no destination associated with the link. In this case, you should call FPDFLink_GetAction() to retrieve the action associated with |link|.

Implementation

FPDF_DEST FPDFLink_GetDest(FPDF_DOCUMENT document, FPDF_LINK link) {
  return _FPDFLink_GetDest(document, link);
}