FPDFAnnot_GetLink method

FPDF_LINK FPDFAnnot_GetLink(
  1. FPDF_ANNOTATION annot
)

Experimental API. Gets FPDF_LINK object for |annot|. Intended to use for link annotations.

annot - handle to an annotation.

Returns FPDF_LINK from the FPDF_ANNOTATION and NULL on failure, if the input annot is NULL or input annot's subtype is not link.

Implementation

FPDF_LINK FPDFAnnot_GetLink(FPDF_ANNOTATION annot) {
  return _FPDFAnnot_GetLink(annot);
}