FPDF_GetFileVersion method

int FPDF_GetFileVersion(
  1. FPDF_DOCUMENT doc,
  2. Pointer<Int> fileVersion
)

Function: FPDF_GetFileVersion Get the file version of the given PDF document. Parameters: doc - Handle to a document. fileVersion - The PDF file version. File version: 14 for 1.4, 15 for 1.5, ... Return value: True if succeeds, false otherwise. Comments: If the document was created by FPDF_CreateNewDocument, then this function will always fail.

Implementation

int FPDF_GetFileVersion(FPDF_DOCUMENT doc, ffi.Pointer<ffi.Int> fileVersion) {
  return _FPDF_GetFileVersion(doc, fileVersion);
}