OverlayColor
Description
Returns or sets the color of the overlay graphics.
Syntax
[VB]
objActiveGige.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:
ActiveGige1.Acquire =
True
ActiveGige1.OverlayEllipse 100,100,200,200
ActiveGige1.OverlayColor=RGB(255,0,0)
ActiveGige1.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
.