ImageGear Professional v18.4 > API Reference Guide > ART Component API Reference > ART Component Functions Reference > Memory Functions > ART_memory_export_size_calc |
This function calculates the size of memory needed to allocate and save marks using the ART_memory_export() function.
Copy Code
|
|
---|---|
AT_ERRCOUNT ART_memory_export_size_calc ( HIGEAR hIGear, LPDWORD lpdwSize ); |
Name | Type | Description |
hIGear | HIGEAR | HIGEAR handle to the image. |
lpdwSize | LPDWORD | Returns the size of memory block. |
Returns the number of ImageGear errors that occurred during the function call.
All pixel formats supported by ImageGear Professional.
None
Copy Code
|
|
---|---|
HIGEAR hIGear; /* HIGEAR handle of Image */ DWORD dwSize; /* Size of memory block */ AT_ERRCOUNT nErrCount; /* Tally of IG errors on stack */ nErrCount = ART_memory_export_size_calc(hIGear,&dwSize); |