FPDF_GetDocPermissions method

int FPDF_GetDocPermissions(
  1. 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

int FPDF_GetDocPermissions(FPDF_DOCUMENT document) {
  return _FPDF_GetDocPermissions(document);
}