VideoEdit Gold ActiveX Control

GetFileWidth Method

Description

Get the specific video file's width.

 

Syntax

Public Function GetFileWidth ( _
   ByVal strFileName as string
) As Integer

 

Parameters

strFileName
    the file you want get the width

 

Return Value

Return the width of file
 

Example

[Visual Basic Syntax]
iWidth= VideoEdit1.GetFileWidth ("c:\hello.mpg")
iHeight= VideoEdit1.GetFileHeight ("c:\hello.mpg")