SaveCompressorSettingsToTextFile
method
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);
Used to save the current compressor settings to a text file.
The compressor settings depend on the current VideoCompressor and RecordingMethod , so be sure to first select the RecordingMethod() and VideoCompressor before saving its settings.
The IsVideoCompressor parameter must be set to true for a video compressor, or false for an audio compressor.
The Compressor parameter index must be the VideoCompressor or AudioCompressor index of the related compressor in the VideoCompressors or AudioCompressors lists.
See Saving and restoring compressor settings programmatically for sample code.