Viscom Software VideoCap ActiveX Control

SetOutlineTextBoderColor Method 

Description:   

Set outline text background color when you select TextStyle to 1 or 2.

Usage:   

VideoCap1.SetOutlineTextBorderColor iIndex, clrBorder

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

clrBorder - the border of outline text color.

Return Value:

No Return value.

Example:   

This Visual Basic example shows how to use SetOutlineTextBorderColor method.

VideoCap1.Start
VideoCap1.TextStyle 0,2
VideoCap1.SetOutlineTextBackColor 0,RGB(255,0,0)
VideoCap1.SetOutlineTextBorderColor 0,RGB(255,255,0)
VideoCap1.TextFontSize 0,20
VideoCap1.TextFontName 0,"Arial"
VideoCap1.TextFontStyle 0,1
VideoCap1.DrawText  0,0, 0, "Hello"