Creates a complete copy of this MediaSample object.
public MediaSample Clone()
Public Function Clone() As Leadtools.Multimedia.MediaSample
public:
Leadtools.Multimedia.MediaSample^ Clone();
A new MediaSample object containing a copy of sample data and attributes of this MediaSample object.
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET