Home > Function descriptions > History back  Previous chapter  Next chapter  Print  

DRSetOverlayKeyColor

uEye ActiveX Manual Version 4.00

DRSetOverlayKeyColor

Syntax

LONG DRSetOverlayKeyColor (LONG nRed, LONG nGreen, LONG nBlue)

Description

DRSetOverlayKeyColor() defines the RGB values of the key color.

The key color specifies where the camera image will be visible in the overlay area. For example: if you fill the complete overlay with the key color, the whole camera image will be visible. If you fill part of the overlay with a different color, the camera image will be covered by the overlay in those places.

Hinweis

The key color has no effect in semi-transparent mode.

Parameters

nRed

Red value of the key color.

nGreen

Green value of the key color.

nBlue

Blue value of the key color.

Return values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

Related properties

Direct3DKeyColor

Related functions

DRGetOverlayKeyColor()

DirectRenderer()

IsDirectRendererSupported()


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