Movie Maker Timeline Control

GetMediaWidth Method

Description

Get the width of media file.

Syntax

Public Function GetMediaWidth( _
   ByVal strMediaFile as string, _
  ) as Integer

 

Parameter

strMediaFile
   the path of video/audio file.


Return Value

    return the value of the width.

Example

Visual Basic Syntax
iWidth= TimelineControl1.GetMediaWidth(strMediaFile)