ImageGear Professional DLL v18.1 for Windows
IG_vector_data_to_dib
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Vector Functions > IG_vector_data_to_dib

Glossary Item Box

This function flushes the vector data to DIB.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_vector_data_to_dib(
        HIGEAR hIGearSource, 
        LPHIGEAR lphIGearDest 
);

Arguments:

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.

Sample:

Vector

Example:

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

Remarks:

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

©2014. Accusoft Corporation. All Rights Reserved.