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

This function tells whether the lighting is enabled for the specified view.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_view_lighting_is_enabled(
   HIG_VECT_VIEW hView,
   VECT_BOOL* lpEnabled
);

Arguments:

Name Type Description
hView HIG_VECT_VIEW Handle to the view.
lpEnabled VECT_BOOL* Pointer to a VECT_BOOL variable which will be overwritten with VECT_TRUE if the lighting is enabled for the given view, and with VECT_FALSE otherwise.

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:

See IG_vect_view_lighting_enable for additional information.