ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDF_doc_set_new_crypt_handler
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_DOC > IG_PDF_doc_set_new_crypt_handler

Glossary Item Box

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:

hDoc The document whose new security handler is set.
hNewCryptHandler 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.

©2012. Accusoft Corporation. All Rights Reserved.