LEADTOOLS Multimedia (Leadtools.Multimedia assembly)
LEAD Technologies, Inc

SampleTarget Class






Members 
The SampleTarget object is used to fetch single media samples from the ConvertCtrl and CaptureCtrl objects.
Object Model
SampleTarget Class
Syntax
public class SampleTarget : System.IDisposable  
'Declaration
 
Public Class SampleTarget 
   Implements System.IDisposable 
'Usage
 
Dim instance As SampleTarget
function Leadtools.Multimedia.SampleTarget()
public ref class SampleTarget : public System.IDisposable  
Remarks
A sample target will accept samples having a specific media type. This media type is set in the MediaType object. Once the media type is set, the media type for the sample target is set by calling the SampleTarget.SetAcceptedMediaType method. To determine the accepted media type of the sample target, call the SampleTarget.GetAcceptedMediaType method. The sample target object must be set to receive samples from either a CaptureCtrl object or a ConvertCtrl object and then start either the capture or the convert process. Once that is done, the sample target can begin receiving samples. Using the GetSample method, the sample target can get delivered samples one at a time, until the end of the stream is reached. When the end of the stream is reached, the convert or capture process should be stopped. For a more detailed description of this process, refer to Implementing a SampleTarget object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SampleTarget Members
Leadtools.Multimedia Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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