ImageGear for C and C++ on Windows v19.7 - Updated
IG_PDF_doc_get_new_crypt_handler
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_DOC > IG_PDF_doc_get_new_crypt_handler

Gets the specified document's new security handler (that is, the security handler that will be used after the document is saved).

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_doc_get_new_crypt_handler(
        HIG_PDF_DOC hDoc,
        LPHIG_PDF_ATOM lphCryptHandler
);

Arguments:

Name Type Description
hDoc HIG_PDF_DOC The document whose new security handler is obtained.
lphCryptHandler LPHIG_PDF_ATOM The PDF atom corresponding to the name of the document's new security handler. Returns IG_PDF_ATOM_NULL if the document does not have a new security handler.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

If the document does not have a new security handler, returns the document's current security handler.