Viscom Software VideoCap ActiveX Control

SetTextureBrushImage Method

Description:   

Set Texture Brush image when you select TextStyle to 2 .

Usage:   

VideoCap1.SetTextureBrushImage iIndex,strImage

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

strImage - the path of image file

Return Value:

No Return value.

Example:   

This Visual Basic example shows how to use SetTextureBrushImage method.

Me.VideoCap1.Start
Me.VideoCap1.TextStyle 0,2
Me.VideoCap1.SetTextureBrushImage 0,"c:\image.jpg"
Me.VideoCap1.TextFontSize 0,20
Me.VideoCap1.TextFontName 0,"Arial"
Me.VideoCap1.TextFontStyle 0,1
Me.VideoCap1.DrawText 0,0, 0, "Hello"