CVB.Net 15.0
Loading...
Searching...
No Matches
UpcA Class Referencesealed

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.
 
- Public Member Functions inherited from UpcEanBase< 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.
 
SetStripCheckDigitEnabled (bool enabled)
 Sets the strip check digit enable.
 
- Public Member Functions inherited from CompositeCodeBase< T >
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.
 
- Public Member Functions inherited from ConfigBase< 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.
 
- Properties inherited from UpcEanBase< T >
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.
 
- Properties inherited from CompositeCodeBase< T >
virtual bool IsCCAEnabled [get, set]
 Enable/disable CCA.
 
virtual bool IsCCBEnabled [get, set]
 Enable/disable CCB.
 
virtual bool IsCCCEnabled [get, set]
 Enable/disable CCC.
 
- 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 class for UPC-A barcodes.

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

Member Function Documentation

◆ SetConversionToEAN13Enabled()

UpcA SetConversionToEAN13Enabled ( bool enable)

Enables or disables Conversion to EAN13.

Parameters
enableif set to true conversion to EAN13 is enabled.
Returns

◆ SetStripNumberSystemEnabled()

UpcA SetStripNumberSystemEnabled ( bool enable)

Enables or disables strip number system.

Parameters
enableif set to true [enable strip number system].
Returns

Property Documentation

◆ IsCCAEnabled

override bool IsCCAEnabled
getset

Enable/disable CCA.

◆ IsCCBEnabled

override bool IsCCBEnabled
getset

Enable/disable CCB.

◆ IsCCCEnabled

override bool IsCCCEnabled
getset

Enable/disable CCC.

◆ IsConvertToEAN13Enabled

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

◆ IsStripNumberSystemEnabled

bool IsStripNumberSystemEnabled
getset

Gets or sets a value indicating whether stip number system is enabled.

true if strip number system is enabled; otherwise, false.