DVD Player ActiveX Control

GetSubTitlesName

 

Get the subpicture name for specific index.

Public Function GetSubTitlesName(
  ByVal iIndex As Integer
) as String

 

Parameter
the index of subpicture.

Return Value
Return the number of subpicture for current title

Example

   

Visual Basic Syntax
DVDPlayer1.SetTitle=1
iSubTitleCount = DVDPlayer1.GetSubTitlesCount
Me.ListSubTitle.Clear
For i = 0 To iSubTitleCount - 1
ListSubTitle.AddItem DVDPlayer1.GetSubTitlesName(i)
Next
DVDPlayer1.SetSubTitlesEnable True