VideoEdit Gold ActiveX Control

SetPosByLongLong Method

Description

When preview the video, set the specific position.

Syntax

Public Function SetPosByLongLong (
  ByVal iPos as long
)

Parameters
iPos - the time position you want to go(unit is long long), e.g. set to 10000000 , it mean 1 second.

No Return Value
 

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.SetPosByLongLong 50000000