FPDF_GetDocPermissions method
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
int FPDF_GetDocPermissions(FPDF_DOCUMENT document) {
return _FPDF_GetDocPermissions(document);
}