ImageGear for C and C++ on Windows v19.10 - Updated
IG_vect_layer_copy_to
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Layer Functions > IG_vect_layer_copy_to

This function copies all settings of the source vector image layer to the destination one.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_layer_copy_to(
   HIG_VECT_LAYER hSrcLayer,
   HIG_VECT_LAYER hDstLayer
);

Arguments:

Name Type Description
hSrcLayer HIG_VECT_LAYER Handle to the source layer which contains settings to be copied.
hDstLayer HIG_VECT_LAYER Handle to the destination layer which receives the settings.

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:

Vector

Remarks:

Use Layer Functions for access to the layer attributes.

Source and destination layers may belong to different drawings.