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. More... | |
void | SetCellSize (ICellSquare cellSize) |
QRCodeMaskEnum | GetMask () |
void | SetMask (QRCodeMaskEnum mask) |
QRCodeModelEnum | GetModel () |
void | SetModel (QRCodeModelEnum model) |
QRCodeErrorCorrectionEnum | GetErrorCorrection () |
void | SetErrorCorrection (QRCodeErrorCorrectionEnum errorCorrection) |
List< Tuple< QRCodeManualEncodingEnum, String > > | GetDataManuallyEncoded () |
Manually encoded data. Manually encoded has priority over automatic encoding, Data. More... | |
void | SetDataManuallyEncoded (List< Tuple< QRCodeManualEncodingEnum, String >> dataManuallyEncoded) |
abstract String | toString () |
![]() | |
IRuler | GetRuler () |
The print resolution can be set in either inch or MM scale. Setting/Updating either scale results in updates to both. More... | |
void | SetRuler (IRuler ruler) |
IPoint | GetStart () |
Position where barcode starts. More... | |
void | SetStart (IPoint start) |
String | GetData () |
The barcode content. More... | |
void | SetData (String data) |
RotateEnum | GetRotation () |
void | SetRotation (RotateEnum rotation) |
abstract String | ToString () |
Returns the string that can be sent to printer. More... | |
Protected Member Functions | |
AQRBarcode () | |
AQRBarcode (IPoint start, String data) | |
Used for most cases where data will be encoded automatically into barcode. More... | |
AQRBarcode (IPoint start, List< Tuple< QRCodeManualEncodingEnum, String >> dataManuallyEncoded) | |
This is used for cases where manual encoding of barcode data is desired. More... | |
Private Attributes | |
ICellSquare | cellSize |
QRCodeMaskEnum | mask = QRCodeMaskEnum.Mask_0 |
QRCodeModelEnum | model = QRCodeModelEnum.MODEL_2 |
QRCodeErrorCorrectionEnum | errorCorrection = QRCodeErrorCorrectionEnum.EC_15 |
List< Tuple< QRCodeManualEncodingEnum, String > > | dataManuallyEncoded |
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
|
protected |
|
protected |
Used for most cases where data will be encoded automatically into barcode.
References com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D.data, com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D.SetData(), com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D.SetStart(), and com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D.start.
|
protected |
This is used for cases where manual encoding of barcode data is desired.
References com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.dataManuallyEncoded, com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D.SetStart(), and com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D.start.
ICellSquare com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.GetCellSize | ( | ) |
Barcode cell size. Larger cell size results in barcodes that take up a larger area.
Implements com.UniPRT.Sdk.LabelMaker.Interface.ISquareCell.
References com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.cellSize.
Referenced by com.UniPRT.Sdk.LabelMaker.PGL.QRBarcode.toString(), and com.UniPRT.Sdk.LabelMaker.TSPL.QRBarcode.toString().
List<Tuple<QRCodeManualEncodingEnum, String> > com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.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.
References com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.dataManuallyEncoded.
Referenced by com.UniPRT.Sdk.LabelMaker.PGL.QRBarcode.toString(), and com.UniPRT.Sdk.LabelMaker.TSPL.QRBarcode.toString().
QRCodeErrorCorrectionEnum com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.GetErrorCorrection | ( | ) |
QRCodeMaskEnum com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.GetMask | ( | ) |
QRCodeModelEnum com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.GetModel | ( | ) |
void com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.SetCellSize | ( | ICellSquare | cellSize | ) |
void com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.SetDataManuallyEncoded | ( | List< Tuple< QRCodeManualEncodingEnum, String >> | dataManuallyEncoded | ) |
void com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.SetErrorCorrection | ( | QRCodeErrorCorrectionEnum | errorCorrection | ) |
void com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.SetMask | ( | QRCodeMaskEnum | mask | ) |
void com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.SetModel | ( | QRCodeModelEnum | model | ) |
|
abstract |
Reimplemented from com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D.
Reimplemented in com.UniPRT.Sdk.LabelMaker.TSPL.QRBarcode, and com.UniPRT.Sdk.LabelMaker.PGL.QRBarcode.
|
private |
|
private |
Referenced by com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.AQRBarcode(), com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.GetDataManuallyEncoded(), com.UniPRT.Sdk.LabelMaker.PGL.QRBarcode.QRBarcode(), com.UniPRT.Sdk.LabelMaker.TSPL.QRBarcode.QRBarcode(), and com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.SetDataManuallyEncoded().
|
private |
|
private |
|
private |