FPDFDest_GetDestPageIndex method

int FPDFDest_GetDestPageIndex(
  1. FPDF_DOCUMENT document,
  2. FPDF_DEST dest
)

Get the page index of |dest|.

document - handle to the document. dest - handle to the destination.

Returns the 0-based page index containing |dest|. Returns -1 on error.

Implementation

int FPDFDest_GetDestPageIndex(FPDF_DOCUMENT document, FPDF_DEST dest) {
  return _FPDFDest_GetDestPageIndex(document, dest);
}