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

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

Declaration:

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

Arguments:

Name Type Description
hLayer HIGIMAGELAYER Handle to the image layer object.
lpLocation LPAT_POINT 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++.