ImageGear for C and C++ on Windows v19.7 - Updated
IG_display_transparent_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_display_transparent_get

Use this function to get image transparent color.

Declaration:

 
Copy Code
AT_ERRCOUNT EXPORT ACCUAPI IG_display_transparent_get(
        HIGEAR hIGear,        
        LPAT_RGB lpRGB,         
        LPAT_BOOL lpEnabled         
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle of image.
lpRGB LPAT_RGB Returns the RGB color values through which transparency is currently set.
lpEnabled LPAT_BOOL Returns current condition of transparency: TRUE - transparency enabled; FALSE - transparency disabled.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None