Viscom Software VideoCap ActiveX Control

TextColor Method

Description:   

Set the text color when you call  textstyle method with 0.
 

Usage:   

VideoCap1.TextColor iIndex, clrColor

iIndex - the index of text. First index is zero, up to 60 index. You can control 60 texts in same time.
(Data Type: Integer)

clrColor - the text color.

Return Value:   

No Return value.

Example:   

This Visual Basic set the first text of color to blue:

Private Sub Form_Load()
        VideoCap1.Start
        VideoCap1.TextStyle 0, 0
        VideoCap1.TextColor 0, RGB(0,255,0)
         VideoCap1.DrawText 0, 0, 0, "Hello"

End Sub