FPDF_GetPageSizeByIndexF function
Experimental API. Function: FPDF_GetPageSizeByIndexF Get the size of the page at the given index. Parameters: document - Handle to document. Returned by FPDF_LoadDocument(). page_index - Page index, zero for the first page. size - Pointer to a FS_SIZEF to receive the page size. (in points). Return value: Non-zero for success. 0 for error (document or page not found).
Implementation
@ffi.Native<FPDF_BOOL Function(FPDF_DOCUMENT, ffi.Int, ffi.Pointer<FS_SIZEF>)>()
external int FPDF_GetPageSizeByIndexF(
FPDF_DOCUMENT document,
int page_index,
ffi.Pointer<FS_SIZEF> size,
);