ImageGear for C and C++ on Windows v20.0 - Updated
IG_PDF_doc_perm_request
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_DOC > IG_PDF_doc_perm_request

Checks the permissions associated with the specified document using the latest permissions format, and determines whether the requested operation is allowed for the specified object in the document.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_doc_perm_request(
        HIG_PDF_DOC hDoc,
        UINT nReqObj,
        UINT nReqOpr,
        LPVOID lpAuthData,
        LPSHORT lpnReqStatus
);

Arguments:

Name Type Description
hDoc HIG_PDF_DOC The document whose permissions are being requested.
nReqObj UINT The target object of the permissions request.
nReqOpr UINT The target operation of the permissions request.
lpAuthData LPVOID A pointer to an authorization data (password string).
lpnReqStatus LPSHORT One of enumIGPDFPermReqStatus request status constants.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Is this page helpful?
Yes No
Thanks for your feedback.