ImageGear for C and C++ on Windows v19.10 - Updated
IG_PDE_image_get_data_length
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_IMAGE > IG_PDE_image_get_data_length

Gets the length of data for an image.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_image_get_data_length (
        HIG_PDE_IMAGE hImage,
        LPLONG lpnLength 
);

Arguments:

Name Type Description
hImage HIG_PDE_IMAGE Image whose data length is obtained.
lpnLength LPLONG Number of bytes of image data, specified by the width, height, bits per component, and color space of the image.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.