SetParam() public method

Set camera's parameter.

The method allows to control different camera's parameters, like exposure time, gain value, etc. See CameraParameter class for the list of some possible configuration parameters. See XIMEA documentation for the complete list of supported parameters.

An error occurred while communicating with a camera. See error /// message for additional information. No camera was opened, so can not access its methods.
public SetParam ( string parameterName, float value ) : void
parameterName string Parameter name.
value float Float parameter value.
return void
コード例 #1
0
 /// <summary>
 /// Set camera's parameter.
 /// </summary>
 ///
 /// <param name="parameterName">Parameter name.</param>
 /// <param name="value">Integer parameter value.</param>
 ///
 /// <remarks><para><note>The call is redirected to <see cref="XimeaCamera.SetParam(string, int)"/>.</note></para></remarks>
 ///
 public void SetParam(string parameterName, int value)
 {
     camera.SetParam(parameterName, value);
 }