LEADTOOLS Multimedia (Leadtools.Multimedia assembly)

Clone Method

Show in webframe



Creates a complete copy of this MediaSample object.
Syntax
'Declaration
 
Public Function Clone() As MediaSample
'Usage
 
Dim instance As MediaSample
Dim value As MediaSample
 
value = instance.Clone()
public MediaSample Clone()
public:
MediaSample^ Clone(); 

Return Value

A new MediaSample object containing a copy of sample data and attributes of this MediaSample object.
Remarks
Making a copy of an existing MediaSample object is useful for keeping a MediaSample object because getting multiple sample buffers will invalidate the previous buffers. This method is similar to CopyTo, except that this method creates a new MediaSample, copies everything into it and then returns the newly created object.
Requirements

Target Platforms

See Also

Reference

MediaSample Class
MediaSample Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 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