TVSetChannelFrequencyOverride
Deprecated
Kept for backward compatibility only.
function TVSetChannelFrequencyOverride (TVChannel: LongInt; FrequencyInHz: LongInt): LongInt;
System::LongInt __fastcall TVSetChannelFrequencyOverride(System::LongInt TVChannel, System::LongInt FrequencyInHz);
public int TVSetChannelFrequencyOverride(int TVChannel, int FrequencyInHz);
Public Function TVSetChannelFrequencyOverride(TVChannel As Integer, FrequencyInHz As Integer) As Integer
int TVSetChannelFrequencyOverride (int TVChannel, int FrequencyInHz);
Sets a frequency overrides.
Remarks
Used to set a frequency override for a given TV channel, for the current country code and tuner input type.
This function sets a frequency override on the specified TV channel.
This will affect the TV channel for the current country code and tuner input type only.
To retrieve the default frequency for this TV channel, simply assign the channel number to the TVChannel property and the OnTVChannelSelected event will return the frequency (the event is synchrone).
To erase any frequency override on this TV channel simply pass " -1" as frequency value in the FrequencyInHz parameter.
Important: setting or clearing a frequency override will be applied only after restarting preview. This will be done automatically if AutoRefreshPreview is enabled.