Configuration class for UPC-A barcodes. More...
Inherits UpcEanBase< T >.
Public Member Functions | |
UpcA | SetConversionToEAN13Enabled (bool enable) |
Enables or disables Conversion to EAN13. | |
UpcA | SetStripNumberSystemEnabled (bool enable) |
Enables or disables strip number system. | |
![]() | |
T | SetSupplemental (SupplementalCode supplement, bool required=false, bool addSpace=true) |
Configures supplemental code decoding. | |
SupplementalCode | GetSupplemental () |
Retrieves the current configuration of the supplemental code decoding. | |
T | SetStripCheckDigitEnabled (bool enabled) |
Sets the strip check digit enable. | |
![]() | |
CompositeCodeBase< T > | SetCCAEnabled (bool enable) |
Sets value for IsCCAEnabled. | |
CompositeCodeBase< T > | SetCCBEnabled (bool enable) |
Sets value for IsCCBEnabled. | |
CompositeCodeBase< T > | SetCCCEnabled (bool enable) |
Sets value for IsCCCEnabled. | |
![]() | |
T | SetEnabled (bool enabled) |
Sets value for IsEnabled. | |
Properties | |
override bool | IsCCAEnabled [get, set] |
Enable/disable CCA. | |
override bool | IsCCBEnabled [get, set] |
Enable/disable CCB. | |
override bool | IsCCCEnabled [get, set] |
Enable/disable CCC. | |
bool | IsConvertToEAN13Enabled [get, set] |
Gets or sets a value indicating whether conversion to EAN13 is enabled. | |
bool | IsStripNumberSystemEnabled [get, set] |
Gets or sets a value indicating whether stip number system is enabled. | |
![]() | |
bool | IsStripCheckDigitEnabled [get, set] |
Gets or sets a value indicating whether the strip check digit is enabled. | |
bool | IsAddSpaceEnabled [get, set] |
Gets or sets a value indicating whether add space is enabled. | |
bool | IsSupplementalRequiredEnabled [get, set] |
Gets or sets a value indicating whether a supplemental code is required. | |
SupplementalCode | SupplementalCode [get, set] |
Gets or sets the supplemental code. | |
![]() | |
virtual bool | IsCCAEnabled [get, set] |
Enable/disable CCA. | |
virtual bool | IsCCBEnabled [get, set] |
Enable/disable CCB. | |
virtual bool | IsCCCEnabled [get, set] |
Enable/disable CCC. | |
![]() | |
virtual bool | IsEnabled [get, set] |
The enabled state of this symbology. | |
Decoder | Decoder [get] |
Decoder this config belongs to. | |
Configuration class for UPC-A barcodes.
For additional details on configuration including a code example, refer to the GetConfig<T>()
method in the Decoder class.
UpcA SetConversionToEAN13Enabled | ( | bool | enable | ) |
Enables or disables Conversion to EAN13.
enable | if set to true conversion to EAN13 is enabled. |
UpcA SetStripNumberSystemEnabled | ( | bool | enable | ) |
Enables or disables strip number system.
enable | if set to true [enable strip number system]. |
|
getset |
Enable/disable CCA.
|
getset |
Enable/disable CCB.
|
getset |
Enable/disable CCC.
|
getset |
Gets or sets a value indicating whether conversion to EAN13 is enabled.
If enabled, the Ean13 will be enabled automatically.
true
if conversion to EAN13 is enbabled; otherwise, false
.
|
getset |
Gets or sets a value indicating whether stip number system is enabled.
true
if strip number system is enabled; otherwise, false
.