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

This function creates a new instance of encryption annotation (IG_ARTX_MARK_ENCRYPTION).

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_encryption_create(
        LPAT_RECTANGLE pRectangle,
        LPSTR lpszPassword,
        enumEncryptModes nMethod,
        LPHIG_ARTX_ENCRYPTION lphMark
);

Arguments:

Name Type Description
pRectangle LPAT_RECTANGLE Annotation bounding rectangle.
lpszPassword LPSTR Password string.
nMethod enumEncryptModes Specifies encryption algorithm to be used.
lphMark LPHIG_ARTX_ENCRYPTION Pointer to storage for new annotation handle.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Upon successful completion: