Release
Minimum Origin Version Required: Origin 9 SR0
void Release( )
#include <..\OriginLab\VideoWriter.h> void VideoWrite_Release_ex1() { // Use the raw format without compression. int codec = CV_FOURCC(0,0,0,0); // Create a VideoWriter object. VideoWriter vw; int err = vw.Create("D:\\example.avi", codec, 2, 800, 600); if (0 == err) { foreach(GraphPage grPg in Project.GraphPages) err = vw.WriteFrame(grPg);//write the graph page into the video } vw.Release();// Release the video object when finished. }
Create
VideoWriter.h