ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Vector Functions > IG_vector_data_to_dib

This function flushes the vector data to DIB.


Copy Code
AT_ERRCOUNT ACCUAPI IG_vector_data_to_dib(
        HIGEAR hIGearSource, 
        LPHIGEAR lphIGearDest 


Name Type Description
hIGearSource HIGEAR Source image handle.
lphIGearDest LPHIGEAR New image - non-zero pointer to HIGEAR that takes a raster HIGEAR.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

Indexed RGB – 8bpp;
RGB – 24 bpp.



Copy Code
HIGEAR rasterhigear;
IG_vector_data_to_dib(hIGear, &rasterhigear);
hIGear = rasterhigear;


The second parameter must be a non-zero pointer to HIGEAR that takes a raster HIGEAR. The source HIGEAR should be deleted manually.

Is this page helpful?
Yes No
Thanks for your feedback.