OverlayColor
Top  Previous  Next

Description

Returns or sets the color of the overlay graphics.


Syntax


[VB]
objActiveGeni.OverlayColor [= Color]


[C/C++]
HRESULT get_OverlayColor(OLE_COLOR& pColor);
HRESULT put_OverlayColor(OLE_COLOR Color);



Data Type
[VB]

RGB color


Parameters
[C/C++]

pColor [out,retval]  
Pointer to the current overlay color  
Color [in]  
The overlay color to be set  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  

Example


The following VB example overlays a red circle on the live video:

ActiveGeni1.Acquire = 
True

ActiveGeni1.OverlayEllipse 100,100,200,200
ActiveGeni1.OverlayColor=RGB(255,0,0)
ActiveGeni1.Overlay=  
True


Remarks


Overlay feature allows you to display custom graphics and text on the live video image. Also see OverlayColor, OverlayPixel, OverlayLine, OverlayRectangle, OverlayEllipse, OverlayText.