Configuration for Pharmacode. More...
Inherits ConfigBase< T >.
Public Member Functions | |
| Pharmacode | SetMinimumNumberBars (int value) |
| Sets the minimum number of bars for decoding. | |
| Pharmacode | SetMaximumNumberBars (int value) |
| Sets the maximum number of bars for decoding. | |
| Pharmacode | SetMinimumValue (int value) |
| Sets the minimum value for decoding. | |
| Pharmacode | SetMaximumValue (int value) |
| Sets the maximum value for decoding. | |
Public Member Functions inherited from ConfigBase< T > | |
| T | SetEnabled (bool enabled) |
| Sets value for IsEnabled. | |
Properties | |
| int | MinimumNumberBars [get, set] |
| Gets or sets the minimum number of bars for decoding. | |
| int | MaximumNumberBars [get, set] |
| Gets or sets the maximum number of bars for decoding. | |
| int | MinimumValue [get, set] |
| Gets or sets the minimum value for decoding. | |
| int | MaximumValue [get, set] |
| Gets or sets the maximum value for decoding. | |
Properties inherited from ConfigBase | |
| virtual bool | IsEnabled [get, set] |
| The enabled state of this symbology. | |
| Decoder | Decoder [get] |
| Decoder this config belongs to. | |
Configuration for Pharmacode.
For additional details on configuration including a code example, refer to the GetConfig<T>() method in the Decoder class.
| Pharmacode SetMaximumNumberBars | ( | int | value | ) |
Sets the maximum number of bars for decoding.
| value | Maximum number of bars. Value has to be between 4 and 16 (inclusive) and greater than MinimumNumberBars. |
| Pharmacode SetMaximumValue | ( | int | value | ) |
Sets the maximum value for decoding.
| value | Maximum value. Value has to be between 15 and 131070 (inclusive) and greater than MinimumValue. |
| Pharmacode SetMinimumNumberBars | ( | int | value | ) |
Sets the minimum number of bars for decoding.
| value | Maximum number of bars. Value has to be between 4 and 16 (inclusive). |
| Pharmacode SetMinimumValue | ( | int | value | ) |
Sets the minimum value for decoding.
| value | Minimum value. Value has to be between 15 and 131070 (inclusive). |