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

The function copies one entity to another.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_ent_copy_to(
        HIG_VECT_ENTITY hEntitySrc,
        HIG_VECT_ENTITY hEntityDst
);

Arguments:

Name Type Description
hEntitySrc HIG_VECT_ENTITY Handle to the source Entity.
hEntityDst HIG_VECT_ENTITY Handle to the destination Entity.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Remarks:

hEntitySrc and hEntityDst must be valid entity handles. These entities can belong to different Drawings.