glbarcode++
 
Loading...
Searching...
No Matches
glbarcode::BarcodeCode39 Class Reference

#include </home/evins/glbarcode/glbarcode/BarcodeCode39.hpp>

Inheritance diagram for glbarcode::BarcodeCode39:
Collaboration diagram for glbarcode::BarcodeCode39:

Static Public Member Functions

static Barcodecreate ()
 

Additional Inherited Members

- Public Member Functions inherited from glbarcode::Barcode1dBase
 ~Barcode1dBase () override
 
Barcodebuild (const std::string &data, double w=0, double h=0) override
 
- Public Member Functions inherited from glbarcode::Barcode
virtual ~Barcode ()
 
 Barcode (const Barcode &)=delete
 
void operator= (const Barcode &)=delete
 
BarcodesetShowText (bool value)
 
bool showText () const
 
BarcodesetChecksum (bool value)
 
bool checksum () const
 
void render (Renderer &renderer)
 
bool isEmpty () const
 
bool isDataValid () const
 
double width () const
 
double height () const
 
- Protected Member Functions inherited from glbarcode::Barcode1dBase
 Barcode1dBase ()
 
virtual std::string preprocess (const std::string &rawData)
 
- Protected Member Functions inherited from glbarcode::Barcode
 Barcode ()
 
void clear ()
 
void addLine (double x, double y, double w, double h)
 
void addBox (double x, double y, double w, double h)
 
void addText (double x, double y, double size, const std::string &text, HAlign halign=H_ALIGN_CENTER)
 
void addRing (double x, double y, double r, double w)
 
void addHexagon (double x, double y, double h)
 
void setIsEmpty (bool value)
 
void setIsDataValid (bool value)
 
void setWidth (double w)
 
void setHeight (double h)
 

Detailed Description

Code 39 1D barcode symbology.

Sample Code 39 Barcode

Input Data Format

The Code 39 specification defines 43 characters, consisting of upper case letters (A-Z), decimal digits (0-9), space, and several special characters (-.$/+%). The BarcodeCode39 validator will also accept lower case letters (a-z). The encoder will automatically upshift any lower case letters prior to encoding.

For full ASCII support see BarcodeCode39Ext.

Checksum Property

If the checksum property is true, a modulo 43 check digit will be automatically generated and appended to input data before encoding. By default, the check digit will not be generated.

See setChecksum().

Show Text Property

If the Show Text property is true, the input data will be printed below the barcode. By default, the data will not be printed.

See setShowText().

References

Member Function Documentation

◆ create()

static Barcode * glbarcode::BarcodeCode39::create ( )
static

Static Code39 barcode creation method

Used by glbarcode::BarcodeFactory


The documentation for this class was generated from the following file: