ImageGear for C and C++ on Windows v20.0 - Updated
IG_vect_data_copy
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Data Functions > IG_vect_data_copy

This function creates a copy of the vector data attached to hIGearSrc and attaches it to hIGearDst. 

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_data_copy(
        HIGEAR hIGearSrc, 
        HIGEAR hIGearDst
);

Arguments:

Name Type Description
hIGearSrc HIGEAR Source ImageGear handle.
hIGearDst HIGEAR Destination of ImageGear handle. hIGearDst must be a valid HIGEAR 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

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