ImageGear for C and C++ on Linux - Updated
ART_memory_import_ex
API Reference Guide > ART Component API Reference > ART Component Functions Reference > Memory Functions > ART_memory_import_ex

This function loads the marks from memory into the HIGEAR image.

Declaration:

 
Copy Code
AT_ERRCOUNT ART_memory_import_ex (
        HIGEAR hIGear,
        HWND hWnd, 
        DWORD dwGrpID, 
        LPVOID lpMem
        BOOL bAppend 
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle to the image.
hWnd HWND HWND handle to the window.
dwGrpID DWORD Identifier of group.
lpMem LPVOID A 32-bit or 64-bit pointer to memory (based on the system's bit architecture).
bAppend BOOL If this parameter is TRUE, then current ART annotation will be simply added to the memory. Otherwise previous annotation in the file will be replaced by the current one.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

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

Remarks:

Use this for loading marks that were previously made and temporarily saved in memory.

This function is the same as ART_memory_import() but has supplementary parameter bAppend that allows you to determine if current ART annotation should be simply added to the memory (TRUE), or replace the existed one (FALSE).