ImageGear Professional v18.2 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > View Functions > IG_vect_view_get_light |
This function returns the handle of a light source object associated with the specified view.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_view_get_light(
HIG_VECT_VIEW hView,
long nLight,
HIG_VECT_LIGHTSOURCE* lpLightSource
);
|
Name | Type | Description |
hView | HIG_VECT_VIEW | Handle to the view. |
nLight | long | Index of the light source in the view. |
lpLightSource | HIG_VECT_LIGHTSOURCE* | Pointer to an HIG_VECT_LIGHTSOURCE variable which will receive the handle to the light source object. |
This function does not process image pixels.
Vector
Use Light Functions to access the particular light source.
See IG_vect_view_lighting_enable for additional information.