ImageGear Professional DLL v17.1 for Windows Accusoft
IG_vect_raster_init
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > 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:

hEntity Raster entity handle.
nWidth New raster width.
nHeight 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

©2012. Accusoft Corporation. All Rights Reserved.