Viscom Software VideoCap ActiveX Control

TextFontName Method

Description:   

Set the font name.
 

Usage:   

VideoCap1.TextFontName iIndex, strFontName

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

strFontName - the font of name.

Return Value:   

No Return value.

Example:   

This Visual Basic set the first text of font name to Arial:

Private Sub Form_Load()
        Me.VideoCap1.Start
        Me.VideoCap1.TextColor 0,RGB(0,255,0)
        Me.VideoCap1.TextFontName 0,"Arial"
        Me.VideoCap1.DrawText 0, 0, 0, "Hello"
End Sub