VideoEdit Gold ActiveX Control

GetFrame2Picture Method

Description

Capture the frame from video file in specific duration and return VB Picture object.

Syntax

Public Function GetFrame2Picture ( _
   ByVal strInputFile as string, _
   ByVal iSecond as double 
) As StdPicture

 

Parameters

strInputFile
    the path of video file

iSecond
    capture time in seconds

 

Return Value

Return stdole.Picture
 

Example

[Visual Basic Syntax]
Picture1.Picture = VideoEdit1.GetFrame2Picture "c:\hello.mpg",0