FPDFLink_GetAnnot function

  1. @Native<FPDF_ANNOTATION Function(FPDF_PAGE page, FPDF_LINK link_annot)>(FPDF_PAGE, FPDF_LINK)>()
FPDF_ANNOTATION FPDFLink_GetAnnot(
  1. FPDF_PAGE page,
  2. FPDF_LINK link_annot
)

Experimental API. Gets FPDF_ANNOTATION object for |link_annot|.

page - handle to the page in which FPDF_LINK object is present. link_annot - handle to link annotation.

Returns FPDF_ANNOTATION from the FPDF_LINK and NULL on failure, if the input link annot or page is NULL.

Implementation

@ffi.Native<FPDF_ANNOTATION Function(FPDF_PAGE, FPDF_LINK)>()
external FPDF_ANNOTATION FPDFLink_GetAnnot(
  FPDF_PAGE page,
  FPDF_LINK link_annot,
);