Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction | Help Version 19.0.2.9
|
Leadtools.Multimedia Namespace > PlayCtrl Class : GetStreamCount Method |
public virtual int GetStreamCount( StreamFormatType streamType )
'Declaration
Public Overridable Function GetStreamCount( _ ByVal streamType As StreamFormatType _ ) As Integer
'Usage
Dim instance As PlayCtrl Dim streamType As StreamFormatType Dim value As Integer value = instance.GetStreamCount(streamType)
public: virtual int GetStreamCount( StreamFormatType streamType )
This property returns the number of streams of a particular type in the current program. You can then select which streams you wish to play by calling SetSelectedStream.
If you change the current program using CurrentProgram, the number of streams might change. So you will need to call PlayCtrl.GetStreamCount again.
Refer to Programs and Streams for more information on Programs and Streams terminology in LEADTOOLS Multimedia.