Error processing SSI file
LEADTOOLS Multimedia (Leadtools.Multimedia assembly)

Show in webframe

CurrentProgram Property (PlayCtrl)






Gets or sets the number of the current program for the media file.
Syntax
public virtual int CurrentProgram {get; set;}
'Declaration
 
Public Overridable Property CurrentProgram As Integer
'Usage
 
Dim instance As PlayCtrl
Dim value As Integer
 
instance.CurrentProgram = value
 
value = instance.CurrentProgram
public:
virtual property int CurrentProgram {
   int get();
   void set (    int value);
}

Property Value

A value representing the number of the current program.
Remarks
This value is zero-based - it can be between 0 and ProgramCount - 1. Once the current program has been set, the number of elementary streams might have changed.

You can use GetStreamCount to find out how many elementary streams are present in the current program.

Use SetSelectedStream to select which streams you wish to play.

For more information on Programs and Streams terminology in LEADTOOLS Multimedia, refer to Programs and Streams.

Requirements

Target Platforms

See Also

Reference

PlayCtrl Class
PlayCtrl Members
ProgramCount Property
GetStreamCount Method
GetSelectedStream Method
SetSelectedStream Method

Error processing SSI file
Leadtools.Multimedia requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features