DVD Player ActiveX Control

SetSubTitlesStream

 

Set the specific sub-picture stream.

Public Function SetSubTitlesStream(
  ByVal iStreamIndex As Integer
) as Bool

 

Parameter
iStreamIndex
the index of sub-picture stream.

Return Value
true - successful, otherwise false.
 
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
DVDPlayer1.SetSubTitlesStream ListSubTitle.ListIndex