ImageGear for C and C++ on Windows v19.1 - Updated
IG_image_layer_location_set
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Layer Functions > IG_image_layer_location_set

This function sets the X and Y coordinates of the image layer's left/top point.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_image_layer_location_set(
        HIGIMAGELAYER hLayer,
        LPAT_POINT lpLocation
);

Arguments:

Name Type Description
hLayer HIGIMAGELAYER Handle to the image layer object.
lpLocation LPAT_POINT the X and Y coordinates of the image layer's left/top point.

Return Value:

Error count.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.