FPDF_GetDocPermissions function
- @Native<UnsignedLong Function(FPDF_DOCUMENT)>(FPDF_DOCUMENT)>()
- FPDF_DOCUMENT document
Function: FPDF_GetDocPermissions Get file permission flags of the document. Parameters: document - Handle to a document. Returned by FPDF_LoadDocument. Return value: A 32-bit integer indicating permission flags. Please refer to the PDF Reference for detailed descriptions. If the document is not protected or was unlocked by the owner, 0xffffffff will be returned.
Implementation
@ffi.Native<ffi.UnsignedLong Function(FPDF_DOCUMENT)>()
external int FPDF_GetDocPermissions(FPDF_DOCUMENT document);