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

This function gets an enabling state of the light source. 

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_light_get_enabled(
        HIG_VECT_LIGHTSOURCE hLightSource, 
        VECT_BOOL* lpEnabled
);

Arguments:

Name Type Description
hLightSource HIG_VECT_LIGHTSOURCE Light source handle.
lpEnabled VECT_BOOL* Buffer for the enabling state value. VECT_FALSE means the light source is disabled.

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