Home > C: Programming > Obsolete Functions > | History back Previous chapter Next chapter Print |
is_SetKeyColor |
uEye Camera Manual Version 3.80
is_SetKeyColor
USB 2.0 GigE |
- |
Syntax
INT is_SetKeyColor (HIDS hCam, INT r, INT g, INT b)
Description
|
Using is_SetKeyColor(), you define the key color for DirectDraw Overlay Surface mode.
This function can also be used to return the key color. Use the r parameter to specify the color value to be returned. Depending on the call type, the function returns either a value reflecting the color content (0...255) or the corresponding RGB value (0 ... 16777215).
Input Parameters
hCam |
Camera handle |
r |
Red content of the key color (0...255). |
IS_GET_KC_RED |
The function returns the red content value. |
IS_GET_KC_GREEN |
The function returns the green content value. |
IS_GET_KC_BLUE |
The function returns the blue content value. |
IS_GET_KC_RGB |
The function returns the RGB color. |
g |
Green content of the key color (0...255). |
b |
Blue content of the key color (0...255). |
Return Values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
Color value when used together with |
Recommended Alternative
Related Functions