CVB.Net 15.0
Loading...
Searching...
No Matches

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.
 
- Public Member Functions inherited from ConfigBase< 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.
 
- Properties inherited from ConfigBase
virtual bool IsEnabled [get, set]
 The enabled state of this symbology.
 
Decoder Decoder [get]
 Decoder this config belongs to.
 

Detailed Description

Configuration for Code39 barcodes.

For additional details on configuration including a code example, refer to the GetConfig<T>() method in the Decoder class.

Member Function Documentation

◆ SetAddStartStopCharEnabled()

Code39 SetAddStartStopCharEnabled ( bool enable)

Enables or disables adding start and stop characters to decoded data.

Parameters
enableif set to true adding start and stop characters is enabled.
Returns

◆ SetChecksumEnabled()

Code39 SetChecksumEnabled ( Checksum value)

Configures checksum for decoding.

Parameters
valueValue for checksum configuration.
Returns

◆ SetFullAsciiModeEnabled()

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.

Parameters
enableif set to true enable full ASCII mode.
Returns

◆ SetMaximumLength()

Code39 SetMaximumLength ( int length)

Sets value for MaxLength.

The default value is 0 for no checking.

Parameters
lengthNumber of characters of the longest decoded string (between 0 and 120).
Returns
Configuration.

◆ SetMinimumLength()

Code39 SetMinimumLength ( int length)

Sets value for MinLength.

Parameters
lengthNumber of characters of the shortest decoded string.
Returns
Configuration.

Property Documentation

◆ IsAddStartStopCharEnabled

bool IsAddStartStopCharEnabled
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.

◆ IsFullAsciiModeEnabled

bool IsFullAsciiModeEnabled
getset

Gets or sets a value indicating whether full ASCII mode is enabled.

true if full ASCII mode is enabled; otherwise, false.