LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
VideoCompressors Class
See Also  Members  
Leadtools.Multimedia Namespace : VideoCompressors Class



The VideoCompressors object contains a collection of registered video compressors.

Object Model

VideoCompressors ClassCompressor Class

Syntax

Visual Basic (Declaration) 
Public Class VideoCompressors 
   Inherits Compressors
   Implements IEnumerable(Of Compressor)IEnumerableIEnumerator 
Visual Basic (Usage)Copy Code
Dim instance As VideoCompressors
C# 
public class VideoCompressors : Compressors, IEnumerable<Compressor>IEnumerableIEnumerator  
C++/CLI 
public ref class VideoCompressors : public Compressors, IEnumerable<Compressor>IEnumerableIEnumerator  

Remarks

The CaptureCtrl and ConvertCtrl objects use this collection to enumerate and select video compressors. A VideoCompressors object is not externally creatable and is only obtained through the parent object’s CaptureCtrl.VideoCompressors and Leadtools.Multimedia.ConvertCtrl.VideoCompressors properties. This collection object is derived from the general Compressors object collection base class. The VideoCompressors collection object also provides helper properties which can be used to access a particular video compressor for selection and use. For example, you could access and/or select the H264 video compressor by doing the following: Compressor myComp = captureCtrl.VideoCompressors.H264; myComp.Selected = true; OR directly from the control like this: captureCtrl.VideoCompressors.H264.Selected = true; Note: You can also access other registered compressors that do not have helper property accessors by simply using the string indexer like: captureCtrl.VideoCompressors["@device:sw:{33D9A760-90C8-11D0-BD43-00A0C911CE86}\\Some Other Video Encoder"].Selected = true;

Inheritance Hierarchy

System.Object
   Leadtools.Multimedia.Compressors
      Leadtools.Multimedia.VideoCompressors

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also