FPDFPage_GetThumbnailAsBitmap function

  1. @Native<FPDF_BITMAP Function(FPDF_PAGE page)>(FPDF_PAGE)>()
FPDF_BITMAP FPDFPage_GetThumbnailAsBitmap(
  1. FPDF_PAGE page
)

Experimental API. Returns the thumbnail of |page| as a FPDF_BITMAP. Returns a nullptr if unable to access the thumbnail's stream.

page - handle to a page.

Implementation

@ffi.Native<FPDF_BITMAP Function(FPDF_PAGE)>()
external FPDF_BITMAP FPDFPage_GetThumbnailAsBitmap(FPDF_PAGE page);