FPDFDest_GetView method

int FPDFDest_GetView(
  1. FPDF_DEST dest,
  2. Pointer<UnsignedLong> pNumParams,
  3. Pointer<Float> pParams
)

Experimental API. Get the view (fit type) specified by |dest|.

dest - handle to the destination. pNumParams - receives the number of view parameters, which is at most 4. pParams - buffer to write the view parameters. Must be at least 4 FS_FLOATs long. Returns one of the PDFDEST_VIEW_* constants, PDFDEST_VIEW_UNKNOWN_MODE if |dest| does not specify a view.

Implementation

int FPDFDest_GetView(
  FPDF_DEST dest,
  ffi.Pointer<ffi.UnsignedLong> pNumParams,
  ffi.Pointer<FS_FLOAT> pParams,
) {
  return _FPDFDest_GetView(dest, pNumParams, pParams);
}