ImageGear Professional v18.4 > 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. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
Indexed RGB – 8bpp;
RGB – 24 bpp.
Vector
Copy Code
|
|
---|---|
HIGEAR rasterhigear; IG_vector_data_to_dib(hIGear, &rasterhigear); IG_image_delete(hIGear); 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.