FPDF_LoadPage function

  1. @Native<FPDF_PAGE Function(FPDF_DOCUMENT, Int)>(FPDF_DOCUMENT, ffi.Int)>()
FPDF_PAGE FPDF_LoadPage(
  1. FPDF_DOCUMENT document,
  2. int page_index
)

Function: FPDF_LoadPage Load a page inside the document. Parameters: document - Handle to document. Returned by FPDF_LoadDocument page_index - Index number of the page. 0 for the first page. Return value: A handle to the loaded page, or NULL if page load fails. Comments: The loaded page can be rendered to devices using FPDF_RenderPage. The loaded page can be closed using FPDF_ClosePage.

Implementation

@ffi.Native<FPDF_PAGE Function(FPDF_DOCUMENT, ffi.Int)>()
external FPDF_PAGE FPDF_LoadPage(FPDF_DOCUMENT document, int page_index);