Movie Player ActiveX Control

ChapterReadChapterName 

 

Return the chapter name for specific index.
 

Public Function ChapterReadChapterName( _
  ByVal index As Integer
) As String

 

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

Return Value
Return the chapter name.

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