AnimatGuiCtrls.Video.EditableVideoStream.Paste C# (CSharp) Метод

Paste() публичный Метод

Paste a number of frames from another video stream into this stream
public Paste ( IntPtr sourceStream, int copyPosition, int pastePosition, int length ) : void
sourceStream System.IntPtr Pointer to the unmanaged stream to copy from
copyPosition int Index of the first frame to copy
pastePosition int Where to paste the copied frames
length int Count of frames to paste
Результат void
        public void Paste(IntPtr sourceStream, int copyPosition, int pastePosition, int length)
        {
            int pastedLength = 0;
            int result = Avi.EditStreamPaste(editableStream, ref pastePosition, ref pastedLength, sourceStream, copyPosition, length);

            if (result != 0) {
                throw new Exception("Exception in Paste: " + result.ToString());
            }

            countFrames += pastedLength;
        }

Same methods

EditableVideoStream::Paste ( VideoStream sourceStream, int copyPosition, int pastePosition, int length ) : void