ImageGear for C and C++ on Windows v19.10 - Updated
IG_ARTX_encryption_password_set
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_ENCRYPTION > IG_ARTX_encryption_password_set

This function updates annotation password.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_encryption_password_set(
        HIG_ARTX_ENCRYPTION hMark,
        LPSTR lpszTextBuffer
);

Arguments:

Name Type Description
hMark HIG_ARTX_ENCRYPTION Annotation handle.
lpszTextBuffer LPSTR Pointer to buffer with new password. If lpszTextBuffer is NULL, then annotation password will be empty.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

If there is an image associated with annotation, it will be decrypted using old password and encrypted with new one.