ImageGear for C and C++ on Windows v19.0
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).

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_doc_set_new_crypt_handler(
        HIG_PDF_DOC hDoc,
        HIG_PDF_ATOM hNewCryptHandler
);

Arguments:

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.

Remarks:

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

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback