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

This function initializes a raster entity from a HIGEAR handle.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_raster_init_from_HIGEAR(
        HIG_VECT_ENTITY hEntity,
        HIGEAR hIGear
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
hIGear HIGEAR HIGEAR handle to the image.

Return Value:

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

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

The image will be converted to RGBA format for attaching to the vector entity.

Sample:

None

Remarks:

Image data is converted to 32-bit RGBA pixel format.