ImageGear Professional DLL v18.1 for Windows
IG_vect_raster_init
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Raster Functions > IG_vect_raster_init

Glossary Item Box

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

©2014. Accusoft Corporation. All Rights Reserved.