Home > C: Programming > Obsolete functions > History back  Previous chapter  Next chapter  Print  

is_SetKeyColor

uEye Camera Manual Version 4.00

is_SetKeyColor

Windows_Logo

Linux_Logo

USB 2.0

GigE

-

Syntax

INT is_SetKeyColor (HIDS hCam, INT r, INT g, INT b)

Description

Achtung

This function is obsolete and should not be used anymore. We recommend to use the is_DirectRenderer() function instead (see also Obsolete functions).

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

When used with
IS_GET_KC_RGB
IS_GET_KC_RED
IS_GET_KC_GREEN
IS_GET_KC_BLUE

Color value

Related functions

is_SetDisplayMode()

is_ShowDDOverlay()

is_HideDDOverlay()

is_DisableDDOverlay()

is_EnableDDOverlay()

is_GetDDOvlSurface()

is_SetColorMode()


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!

For technical questions please contact you local distributor or use the support form on our website.


© 2012 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com