public virtual int SourceProgramCount { get; }
public:
virtual property int SourceProgramCount {
int get();
}
A value representing the number of programs.
Currently, only MPEG2 Transport files can have more than one program. All the other file formats have only one program, so for them SourceProgramCount will return 1. If you do have more than one program, call CurrentSourceProgram to get or set the current program.
Once you set the current program, you can use GetSourceStreamCount to find out how many elementary streams are present in the current program.
Use SetSelectedSourceStream to select which streams you wish to play.
For more information on Programs and Streams terminology in LEADTOOLS Multimedia, refer to Programs and Streams.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document