Skip to content

SaveCompressorSettingsToTextFile

function

Delphi
function SaveCompressorSettingsToTextFile (IsVideoCompressor: Boolean; CompressorIndex: LongInt; FileName: string): Boolean;
C++Builder
bool __fastcall SaveCompressorSettingsToTextFile(bool IsVideoCompressor, System::LongInt CompressorIndex, System::UnicodeString FileName);
C#
public bool SaveCompressorSettingsToTextFile(bool IsVideoCompressor, int CompressorIndex, string FileName);
VB.NET
Public Function SaveCompressorSettingsToTextFile(IsVideoCompressor As Boolean, CompressorIndex As Integer, FileName As String) As Boolean
C++/Qt
BOOL SaveCompressorSettingsToTextFile (BOOL IsVideoCompressor, int CompressorIndex, wchar_t *FileName);

Saves the current compressor settings to a text file.

The compressor settings depend on the current VideoCompressor and RecordingMethod: select the RecordingMethod and the VideoCompressor before saving the settings.

Set the IsVideoCompressor parameter to true for a video compressor, or to false for an audio compressor.

The CompressorIndex parameter must be the VideoCompressor or AudioCompressor index of the related compressor in the VideoCompressors or AudioCompressors lists.

The settings are reloaded by LoadCompressorSettingsFromTextFile.