Base class for QR Code 2D barcode. More...
Public Member Functions | |
ICellSquare | GetCellSize () |
Barcode cell size. Larger cell size results in barcodes that take up a larger area. | |
String | GetData () |
The barcode content. | |
List< Tuple< QRCodeManualEncodingEnum, String > > | GetDataManuallyEncoded () |
Manually encoded data. Manually encoded has priority over automatic encoding, Data. More... | |
QRCodeErrorCorrectionEnum | GetErrorCorrection () |
QRCodeMaskEnum | GetMask () |
QRCodeModelEnum | GetModel () |
RotateEnum | GetRotation () |
IRuler | GetRuler () |
The print resolution can be set in either inch or MM scale. Setting/Updating either scale results in updates to both. More... | |
IPoint | GetStart () |
Position where barcode starts. | |
void | SetCellSize (ICellSquare cellSize) |
void | SetData (String data) |
void | SetDataManuallyEncoded (List< Tuple< QRCodeManualEncodingEnum, String >> dataManuallyEncoded) |
void | SetErrorCorrection (QRCodeErrorCorrectionEnum errorCorrection) |
void | SetMask (QRCodeMaskEnum mask) |
void | SetModel (QRCodeModelEnum model) |
void | SetRotation (RotateEnum rotation) |
void | SetRuler (IRuler ruler) |
void | SetStart (IPoint start) |
abstract String | ToString () |
Returns the string that can be sent to printer. | |
abstract String | toString () |
Protected Member Functions | |
AQRBarcode (IPoint start, List< Tuple< QRCodeManualEncodingEnum, String >> dataManuallyEncoded) | |
This is used for cases where manual encoding of barcode data is desired. | |
AQRBarcode (IPoint start, String data) | |
Used for most cases where data will be encoded automatically into barcode. | |
Base class for QR Code 2D barcode.
Data encoded in a QR barcode can be encoded automatically or manually. Unless there is a need to optimize the amount of data stored in the barcode, automatic encoding should be used.
Data
DataManuallyEncoded
List<Tuple<QRCodeManualEncodingEnum, String> > GetDataManuallyEncoded | ( | ) |
Manually encoded data. Manually encoded has priority over automatic encoding, Data.
Data can be encoded automatically or manually. If there is automatically encoded data, it is ignored and this manually encoded data will be used. For manually encoding data, a list of pairs of strings and their related encoding method can be provided using this property.
|
inherited |
The print resolution can be set in either inch or MM scale. Setting/Updating either scale results in updates to both.
The print resolution must match the resolution of the printer. Incorrect printing will result if a resolution does not match the printer.
Implements IPositionRuler.