RecordToNewFileNow
method
Delphi
function RecordToNewFileNow (NewRecordingFileName: string; ResetStreamTime: Boolean): Boolean;
C++Builder
bool __fastcall RecordToNewFileNow(System::UnicodeString NewRecordingFileName, bool ResetStreamTime);
C#
public bool RecordToNewFileNow(string NewRecordingFileName, bool ResetStreamTime);
VB.NET
Public Function RecordToNewFileNow(NewRecordingFileName As String, ResetStreamTime As Boolean) As Boolean
C++/Qt
BOOL RecordToNewFileNow (wchar_t *NewRecordingFileName, BOOL ResetStreamTime);
creates a new file during recording. During recording, invoking RecordToNewFileNow closes the current recording file, and creates a new recording file according to the RecordingFileName property.
-
if RecordingFileName is empty, a new file name is generated automatically according to the StoragePath , AutoFileName and AutoFilePrefix .
-
if RecordingFileName specifies a file name, this file name will be used to create the new file.