Configuration for Code39 barcodes. More...
Inherits ConfigBase< T >.
Public Member Functions | |
Code39 | SetMinimumLength (int length) |
Sets value for MinLength. | |
Code39 | SetMaximumLength (int length) |
Sets value for MaxLength. | |
Code39 | SetFullAsciiModeEnabled (bool enable) |
Enable or disable full ASCII mode. | |
Code39 | SetChecksumEnabled (Checksum value) |
Configures checksum for decoding. | |
Code39 | SetAddStartStopCharEnabled (bool enable) |
Enables or disables adding start and stop characters to decoded data. | |
![]() | |
T | SetEnabled (bool enabled) |
Sets value for IsEnabled. | |
Properties | |
int | MinimumLength [get, set] |
Minimum data length. | |
int | MaximumLength [get, set] |
Maximum data length. | |
bool | IsFullAsciiModeEnabled [get, set] |
Gets or sets a value indicating whether full ASCII mode is enabled. | |
Checksum | IsChecksumEnabled [get, set] |
Gets or sets configuration of checksum for decoding. | |
bool | IsAddStartStopCharEnabled [get, set] |
Gets or sets a value indicating whether to add the start stop character. | |
![]() | |
virtual bool | IsEnabled [get, set] |
The enabled state of this symbology. | |
Decoder | Decoder [get] |
Decoder this config belongs to. | |
Configuration for Code39 barcodes.
For additional details on configuration including a code example, refer to the GetConfig<T>()
method in the Decoder class.
Code39 SetAddStartStopCharEnabled | ( | bool | enable | ) |
Enables or disables adding start and stop characters to decoded data.
enable | if set to true adding start and stop characters is enabled. |
Configures checksum for decoding.
value | Value for checksum configuration. |
Code39 SetFullAsciiModeEnabled | ( | bool | enable | ) |
Enable or disable full ASCII mode.
The Full ASCII mode in Code 39 is an extended encoding mode that allows the representation of all 128 ASCII characters (including lowercase letters, special symbols, and control characters) rather than just the basic 43 characters supported by the standard Code 39.
enable | if set to true enable full ASCII mode. |
Code39 SetMaximumLength | ( | int | length | ) |
Sets value for MaxLength.
The default value is 0 for no checking.
length | Number of characters of the longest decoded string (between 0 and 120). |
Code39 SetMinimumLength | ( | int | length | ) |
Sets value for MinLength.
length | Number of characters of the shortest decoded string. |
|
getset |
Gets or sets a value indicating whether to add the start stop character.
true
if adding the start stop character is enabled; otherwise, false
.
|
getset |
Gets or sets a value indicating whether full ASCII mode is enabled.
true
if full ASCII mode is enabled; otherwise, false
.