VideoEdit Gold ActiveX Control

GetCurrentPosByLongLong Method

Description

When preview the video, Get the current position.

Syntax

Public Function GetCurrentPosByLongLong () as long

No Parameters


Return Value

Return the current position. If return 10000000 , it mean 1 second.
 

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
iPos = VideoEdit1.GetCurrentPosByLongLong