ImageGear for C and C++ on Windows v19.0
IG_vect_raster_init

This function initializes the raster entity with the new width and height and allocates memory for the color data.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_raster_init(
        HIG_VECT_ENTITY hEntity, 
        long nWidth, 
        long nHeight
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Raster entity handle.
nWidth long New raster width.
nHeight long New raster height.

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

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback