Movie Player ActiveX Control

ChapterReadChapterTime

 

Return the chapter time for specific index.
 

Public Function ChapterReadChapterTime( _
  ByVal index As Integer
) As double

 

Parameter
index
Specifies index of chapter. First index is zero.

Return Value
Return the chapter time, the unit is second.

Example

   

Visual Basic Syntax
MoviePlayer1.ChapterOpenFile "c:\yourfolder\yourfile.mp4"
iCount = Me.MoviePlayer1.ChapterReadChapterCount
For i = 0 To iCount - 1
     List1.AddItem MoviePlayer1.ChapterReadChapterName(i) + " " +
     Str (MoviePlayer1.ChapterReadChapterTime(i))
Next
MoviePlayer1.ChapterCloseFile