ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / ArtX Component API Reference / ArtX Component Objects Reference / HIG_ARTX_ENCRYPTION / IG_ARTX_encryption_encrypt
In This Topic
    IG_ARTX_encryption_encrypt
    In This Topic

    This function encrypts the area of hIGear covered by the encryption mark.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI IG_ARTX_encryption_encrypt(
            HIG_ARTX_ENCRYPTION hMark,
            HIGEAR hIGear
    );
    

    Arguments:

    Name Type Description
    hMark HIG_ARTX_ENCRYPTION Annotation handle.
    hIGear HIGEAR Image page to encrypt.

    Return Value:

    Error count.

    Supported Raster Image Formats:

    All pixel formats supported by ImageGear for C and C++.

    Remarks:

    If the area (or portion of that area) is covered by another encryption mark, then it does nothing.

    Sets applied property to TRUE if encryption was successful.