Viscom Software VideoCap ActiveX Control

DrawTime Method

Description:   

Draw the current time in preview window or file.

Usage:   

VideoCap1.DrawTime Parameter1,Parameter2,Parameter3

Parameter:

Parameter1- the left position of text.  (Data Type: Integer)

Parameter2- the top position of text. (Data Type: Integer)

Parameter3- the date time format. (Data Type: Integer)

0 -  mm/dd/yyyy
1 - dd/mm/yyyy
2 - mm.dd.yyyy
3 - dd.mm.yyyy
4 - hh:mm:ss
5 - hh:mm
6 - mm:ss
7 - mm/dd/yyyy hh:mm:ss
8 - dd/mm/yyyy hh:mm:ss
9 - mm.dd.yyyy hh:mm:ss
10 - dd.mm.yyyy hh:mm:ss
11 - mm/dd/yyyy hh:mm
12 - dd/mm/yyyy hh:mm
13 - mm.dd.yyyy hh:mm
14 - dd.mm.yyyy hh:mm
15 - mm/dd/yyyy.mm:ss
16 - dd/mm/yyyy.mm:ss
17 - mm.dd.yyyy.mm:ss
18 - dd.mm.yyyy.mm:ss

Return Value:

No Return value.

Example:   

This Visual Basic example draw the time in preview window and file.

VideoCap1.Start
VideoCap1.DrawTime  0, 10, 7      ' mm/dd/yyyy hh:mm:ss date time format