Skip to content

IntegerValueCorrection Enumeration#

Lists possible integer value corrections.

Syntax#

C#

public enum IntegerValueCorrection

VB

Public Enumeration IntegerValueCorrection

Members#

Member nameValueDescription
None0No correction will be applied. If the value is not valid for the parameter, an exception will be thrown.
Up1Correct the value by rounding up to the nearest valid value. If the value is lower/higher than the minimum/maximum in the range of valid values, correct the value to the minimum/maximum.
Down2Correct the value by rounding down to the nearest valid value. If the value is lower/higher than the minimum/maximum in the range of valid values, correct the value to the minimum/maximum.
Nearest3Correct the value by rounding up or down to the nearest valid value. If the correction in each direction is equal, the value will be corrected by rounding up to the nearest valid value. If the value is lower/higher than the minimum/maximum in the range of valid values, correct the value to the minimum/maximum.

Reference#

Basler.Pylon Namespace