VideoProcessors Class


The VideoProcessors object contains a collection of registered video processors.

public class VideoProcessors : Processors 
Public Class VideoProcessors  
   Inherits Processors 
   Implements System.Collections.Generic.ICollection(Of Processor), System.Collections.Generic.IEnumerable(Of Processor), System.Collections.Generic.IList(Of Processor), System.Collections.IEnumerable, System.IDisposable  
public ref class VideoProcessors : public Processors, System.Collections.Generic.ICollection<Processor>, System.Collections.Generic.IEnumerable<Processor>, System.Collections.Generic.IList<Processor>, System.Collections.IEnumerable, System.IDisposable   


The PlayCtrl, CaptureCtrl and ConvertCtrl objects use this collection to enumerate and select video processors. An VideoProcessors object is not externally creatable and is only obtained through the parent object properties: PlayCtrl.VideoProcessors, PlayCtrl.SelectedVideoProcessors, CaptureCtrl.VideoProcessors, CaptureCtrl.SelectedVideoProcessors, CaptureCtrl.PreviewVideoProcessors, ConvertCtrl.VideoProcessors and ConvertCtrl.SelectedVideoProcessors. This collection object is derived from the general Processors object collection base class. The VideoProcessors collection object also provides helper properties which can be used to access a particular video processor for selection and use. For example, you could add the EFXDizzy video processor to the play control's selected video processors by doing the following: playCtrl.SelectedVideoProcessors.Add(playCtrl.VideoProcessors.EFXDizzy); Note: You can also access other registered processors that do not have helper property accessors by simply using the string indexer like: Processor myProc = playCtrl.VideoProcessors["@device:sw:{5FFE757A-509A-477E-A1F1-68812010A6DD}\{my registered processor guid}"]; To register your own processor, see Processors.RegisterExternalProcessor.


Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly