VideoEdit Gold ActiveX Control

SetPos Method

Description

Set the position when preview.

 

Syntax

Public Function SetPos ( _
   ByVal fPos as double
)

 

Parameters

fpos
    the position of video/audio in seconds.
 

Example

[Visual Basic Syntax]
VideoEdit1.InitControl
VideoEdit1.AddVideo "c:\test3.mpg" , 0,10     'Add test3.mpg into timeline and then extract video from 0 to 10 seconds
VideoEdit1.AddAudio "c:\test3.mpg" , 0,10     'Add test3.mpg into timeline and then extract audio from 0 to 10 seconds
VideoEdit1.Preview                                          
VideoEdit1.SetPos 10