LoadCompressorSettingsFromTextFile
Delphi
function LoadCompressorSettingsFromTextFile (IsVideoCompressor: Boolean; CompressorIndex: LongInt; FileName: string): Boolean;
C++Builder
bool __fastcall LoadCompressorSettingsFromTextFile(bool IsVideoCompressor, System::LongInt CompressorIndex, System::UnicodeString FileName);
C#
public bool LoadCompressorSettingsFromTextFile(bool IsVideoCompressor, int CompressorIndex, string FileName);
VB.NET
Public Function LoadCompressorSettingsFromTextFile(IsVideoCompressor As Boolean, CompressorIndex As Integer, FileName As String) As Boolean
C++/Qt
BOOL LoadCompressorSettingsFromTextFile (BOOL IsVideoCompressor, int CompressorIndex, wchar_t *FileName);
Reloads the compressor settings from 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.