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

This function gets the raster width.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_raster_get_width(
        HIG_VECT_ENTITY hEntity, 
        long* lpWidth
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Raster entity handle.
lpWidth long* Buffer for the raster width.

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