VIDEO.TimeDisplay

Previous  Next

 

state = VIDEO.TimeDisplay( nControl    AS INTEGER,

                           Pos         AS INTEGER,

                           Color       AS INTEGER,

                           strFontName AS STRING,

                           nFontSize   AS INTEGER,

                           nFontWeight AS INTEGER,

                           bFontItalic AS INTEGER ) AS INTEGER

 

 

 

 

Turns the display of time in the video on or off as well as the properties of the time display.  The position of the time display can be 1 through 6.  1 is upper left corner, 2 is upper center and 6 is lower right.  Setting the position to 0 will hide the display.

 

Example:

 

VIDEO.TimeDisplay( nControl, 4, RGB( 220, 0, 0 ), "Arial", 12, MT_Font_Bold, TRUE )