Configuration to access parameters of ReaderPlanetPostnetConfigBase.
More...
#include <cvb/barcode/_detail/reader_planet_postnet_config_base.hpp>
Inherits ReaderConfigBase.
Inherited by Planet, and Postnet.
Configuration to access parameters of ReaderPlanetPostnetConfigBase.
◆ EvaluateCheckDigit()
bool EvaluateCheckDigit |
( |
| ) |
const |
|
inline |
Returns the evaluate/ignore check digit.
- Returns
- The check digit value. Specifying true activates checking; specifying false deactivates checking.
- Exceptions
-
- See also
- SetEvaluateCheckDigit
◆ Mirrored()
Returns whether the code is mirrored/not mirrored.
- Returns
- Code is mirrored/not mirrored.
- Exceptions
-
- See also
- SetMirrored
◆ Orientation()
Returns the orientation of the code in the image.
- Returns
- The orientation of the barcode. It may be present in either vertical or horizontal orientation, but not in an angle of rotation of 20 degrees
- Exceptions
-
- See also
- SetOrientation
◆ QuietzoneWidth()
int QuietzoneWidth |
( |
| ) |
const |
|
inline |
Returns the quiet zone in module width. Possible values ranging from 2 to 10. Normally, the value is 5.
- Returns
- The quiet zone in module width. Possible values ranging from 2 to 10. Normally, the value is 5.
- Exceptions
-
- See also
- SetQuietzoneWidth
◆ SetEvaluateCheckDigit()
void SetEvaluateCheckDigit |
( |
bool |
evalCheckDigit | ) |
|
|
inline |
Sets the evaluate/ignore check digit.
- Parameters
-
[in] | evalCheckDigit | It activates or deactivates the checking of any check digit which may be present. Specifying true activates checking; specifying false deactivates checking. |
- Exceptions
-
- See also
- EvaluateCheckDigit
◆ SetMirrored()
void SetMirrored |
( |
bool |
mirrored | ) |
|
|
inline |
Sets whether the code is mirrored/not mirrored.
- Parameters
-
[in] | mirrored | Code is mirrored/not mirrored. |
- Exceptions
-
- See also
- Mirrored
◆ SetOrientation()
Specifies the orientation of the code in the image.
- Parameters
-
[in] | orientation | The barcode may be present in either vertical or horizontal orientation, but not in an angle of rotation of 20 degrees. |
- Exceptions
-
- See also
- Orientation
◆ SetQuietzoneWidth()
void SetQuietzoneWidth |
( |
int |
quietzoneWidth | ) |
|
|
inline |
Sets the quiet zone in module width. Possible values ranging from 2 to 10. Normally, the value is 5.
- Parameters
-
[in] | quietzoneWidth | Quiet zone in module width. Possible values ranging from 2 to 10. Normally, the value is 5. |
- Exceptions
-
- See also
- QuietzoneWidth
◆ SetThreshold()
void SetThreshold |
( |
int |
threshold | ) |
|
|
inline |
Sets the threshold between bar and gap in the code.
- Parameters
-
[in] | threshold | Threshold between bar and gap in the code. Values ranges from 10 to 90 (%). |
- Exceptions
-
- See also
- Threshold
◆ SetTransmitCheckDigit()
void SetTransmitCheckDigit |
( |
bool |
transmitCheckDigit | ) |
|
|
inline |
Append/do not append check digit to data.
- Parameters
-
[in] | transmitCheckDigit | If necessary, the transmit_checkdigit parameter activates or deactivates transmission of a check digit. Specifying true activates transmission; specifying false deactivates it. If transmitCheckDigit = false, this parameter is ignored. |
- Exceptions
-
- See also
- TransmitCheckDigit
◆ Threshold()
Returns the threshold between bar and gap in the code.
- Returns
- Threshold between bar and gap in the code. Values ranges from 10 to 90 (%).
- Exceptions
-
- See also
- SetThreshold
◆ TransmitCheckDigit()
bool TransmitCheckDigit |
( |
| ) |
const |
|
inline |
Returns whether to append check digit to data.
- Returns
- The return value tells whether it activates or deactivates transmission of a check digit.
- Exceptions
-
- See also
- SetTransmitCheckDigit