[VB]
objActiveGige.OverlayText X, Y, Text [C/C++]
HRESULT OverlayText( short X, short Y, bstr Text );
Data Types [VB]
X, Y : Integer
Text: String
Parameters [C/C++]
X [in], Y [in]
Coordinates of the text relative to the image origin.
Text [in]
The string containing the text to be drawn.
Return Values
S_OK
Success
E_FAIL
Failure.
Example
The following VB example overlays a string of text on the live video:
Dim Font As New StdFont
Font.Name = "Arial"
Font.Size = 18
Font.Bold = True
ActiveGige1.OverlayFont = Font
ActiveGige1.OverlayText 10, 100, "ActiveGige rules!"
ActiveGige1.OverlayColor = RGB(255, 0, 0)
ActiveGige1.Overlay = True
Remarks
To select the font for drawing text strings, use OverlayFont. To draw multiple strings, call this method several times. Also see OverlayColor, OverlayClear.