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

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


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_doc_set_new_crypt_handler(
        HIG_PDF_DOC hDoc,
        HIG_PDF_ATOM hNewCryptHandler


Name Type Description
hDoc HIG_PDF_DOC The document whose new security handler is set.
hNewCryptHandler HIG_PDF_ATOM The PDF atom for the name of the new security handler to use for the document. Use IG_PDF_ATOM_NULL to remove security from the document.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.


This function returns with no action if the new security handler is the same as the old one.

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