Movie Maker Timeline Control

GetEffectCount Method

Description

Get the count of effect on specific track.

Syntax

Public Function GetEffectCount( _
   ByVal trackIndex as integer, _
  ) as integer

 

Parameter

trackIndex
   the index of track.

   0 - Transition Track
   1 - Video 1 Track
   2 - Video 2 Track
   3 - Image Track
   4 - Effect Track
   5 - Audio 1 Track
   6 - Audio 2 Track
   7 - Text Track


Return Value

    return the total count of the effect on specific track

 

Example

Visual Basic Syntax
 iTotalEffectClips = TimelineControl1.GetEffectCount(TimelineControl1.GetEffectTrackIndex())