Cancel
method
Delphi
function Cancel: Boolean;
C++Builder
bool __fastcall Cancel();
C#
public bool Cancel();
VB.NET
Public Function Cancel() As Boolean
C++/Qt
BOOL Cancel ();
Cancels any task currently running (preview, recording, playback as well as reencoding).
Recording: if the recording is running, it is immediately stopped:
-
if the recording had to be recompressed after capture (CompressionMode = cm_CompressAfterRecording), this reencoding operation is cancelled,
-
if the recording had to be recopied after capture (PreallocCapFileEnabled = true), this copy operation is cancelled.
Reencoding: the current reencoding operation is stopped immediately.
Returns true upon success.