ImageGear for C and C++ on Windows v19.9 - Updated
IG_vect_raster_get_data
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Raster Functions > IG_vect_raster_get_data

This function gets a pointer to the raster data.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_raster_get_data(
        HIG_VECT_ENTITY hEntity, 
        IGVectColor** lplpData
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Raster entity handle.
lplpData IGVectColor** Buffer to the pointer for raster data.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Remarks:

Raster data is a sequence of IGVectColor structures. The data is available for direct access to the raster colors.