List All Codecs on a System Brief source code snippet that illustrates how to list all available codecs that are installed on a system.
The window of the resulting application looks as follows: The program is based on the collection .AviCompressors. First of all, a listbox, that will later be used to list all available codecs, is dragged onto the form and labeled lstCodecs. To add the list of codecs to the listbox, its DataSource simply has to be set to icImagingControl1.AviCompressors. C# private void Form1_Load(object sender, System.EventArgs e) { lstCodecs.DataSource = icImagingControl1.AviCompressors; } |