ImageGear Professional DLL v18.1 for Windows
ART_memory_export_size_calc
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > ART Component API Reference > ART Component Functions Reference > Memory Functions > ART_memory_export_size_calc

Glossary Item Box

This function calculates the size of memory needed to allocate and save marks using the ART_memory_export() function.

Declaration:

  Copy Code
AT_ERRCOUNT ART_memory_export_size_calc (
        HIGEAR hIGear,
        LPDWORD lpdwSize
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle to the image.
lpdwSize LPDWORD Returns the size of memory block.

Return Value:

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

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

Sample:

None

Example:

  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);
©2014. Accusoft Corporation. All Rights Reserved.