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

This function creates vector data and attaches it to the HIGEAR.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_data_create(HIGEAR hIGear);

Arguments:

Name Type Description
hIGear HIGEAR ImageGear handle.

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++.

Although Vector data can be attached to HIGEAR having any pixel format, IG_vector_data_to_dib will work only for Indexed 8 or RGB 24 bit depths.

Sample:

None