Configuration to access parameters of ReaderConfigBase.
More...
#include <cvb/barcode/_detail/reader_config_base.hpp>
Inherits ConfigBase.
Inherited by Reader2DConfigBase, ReaderFourStateConfigBase, ReaderPlanetPostnetConfigBase, ReaderWithQuietzoneConfigBase, and PharmaCode.
|
void | SetInverse (bool inverse) |
| Code is inverted (white on black)/not inverted. More...
|
|
bool | Inverse () const |
| Returns whether the code is inverted (white on black) or not. More...
|
|
Configuration to access parameters of ReaderConfigBase.
◆ Inverse()
Returns whether the code is inverted (white on black) or not.
- Returns
- The return flag. True specifies whether the barcode is present as a black on white image (inverse = false) or a white on black image (inverse = true).
- Exceptions
-
- See also
- SetInverse
◆ SetInverse()
void SetInverse |
( |
bool |
inverse | ) |
|
|
inline |
Code is inverted (white on black)/not inverted.
- Parameters
-
[in] | inverse | True specifies whether the barcode is present as a black on white image (inverse = false) or a white on black image (inverse = true). Normally barcodes are printed dark on a bright background in which case the value false is passed. Under certain circumstances, the contrast ratio may be inverted. In such cases, you pass the value true. |
- Exceptions
-
- See also
- Inverse