ImageEn, unit iemmf

TIEMediaFoundationSourceReader.PauseCapture

TIEMediaFoundationSourceReader.PauseCapture

Declaration

function PauseCapture(): boolean;

Description

Suspend capturing of sample. Call ResumeCapture to restart capturing.
Returns the capture state before pausing (True = was capturing, False = was not capturing).

Example

// Save active frame to file
ImageEnView1.IO.MediaFoundationSourceReader.PauseCapture();
ImageEnView1.IO.SaveToFile( 'D:\Frame.jpg' );
ImageEnView1.IO.MediaFoundationSourceReader.ResumeCapture();

See Also

Capturing
PauseCapture
ResumeCapture
StartCapture
StopCapture