Set video quality for both cameras.
Namespace:
AForge.Robotics.SurveyorAssembly: AForge.Robotics.Surveyor (in AForge.Robotics.Surveyor.dll) Version: 2.2.3.0 (2.2.3.0)
Syntax
| C# |
|---|
public void SetQuality( int quality ) |
Parameters
- quality
- Type: System..::.Int32
Video quality to set, [1, 8].
Remarks
The method sets video quality for both SVS cameras, which is specified in [1, 8] range - 1 is the highest quality level, 8 is the lowest quality level.
Exceptions
| Exception | Condition |
|---|---|
| AForge..::.NotConnectedException | Not connected to SVS. Connect to SVS board before using this method. |
| System..::.ArgumentOutOfRangeException | Invalid quality level was specified. |