|
Barcodes are
used widely for many purposes. Many user-friendly applications
need to control the flow of products. Other applications use
barcodes to speed up processing of customer' requests. There
are many types of barcodes, but the one of most used is Code
128.
Short
description
The class is declared as follow:
namespace CODE_128
{
class CODE128
{
public:
CODE128();
void SetXResolution(int);
void SetYResolution(int);
void SetOneModuleWidth(float);
float GetOneModuleWidth(void);
void SetCodeString(LPCTSTR);
void Draw(HDC,int,int,int,COLORREF);
void SetLeadIn(int);
void SetLeadOut(int);
int GetLeadIn(void);
int GetLeadOut(void);
LPCTSTR GetMetricsDescription(void);
int GetLengthInModules(void);
void SetLeadInAndLeadOutFlag(BOOL);
BOOL GetLeadInAndLeadOutFlag(void);
};
} // end namespace CODE_128
|