UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode Class Referenceabstract

Base class for QR Code 2D barcode. More...

Inheritance diagram for com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode:
com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D com.UniPRT.Sdk.LabelMaker.Interface.ISquareCell com.UniPRT.Sdk.LabelMaker.Interface.IBarcode2D com.UniPRT.Sdk.LabelMaker.Interface.IBarcodeItem_2D com.UniPRT.Sdk.LabelMaker.Interface.IPositionRuler com.UniPRT.Sdk.LabelMaker.Interface.IRotation com.UniPRT.Sdk.LabelMaker.PGL.QRBarcode com.UniPRT.Sdk.LabelMaker.TSPL.QRBarcode

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 ()
 
- Public Member Functions inherited from com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D
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
 

Detailed Description

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

Constructor & Destructor Documentation

◆ AQRBarcode() [1/3]

com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.AQRBarcode ( )
protected

◆ AQRBarcode() [2/3]

com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.AQRBarcode ( IPoint  start,
String  data 
)
protected

◆ AQRBarcode() [3/3]

com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.AQRBarcode ( IPoint  start,
List< Tuple< QRCodeManualEncodingEnum, String >>  dataManuallyEncoded 
)
protected

Member Function Documentation

◆ GetCellSize()

ICellSquare com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.GetCellSize ( )

◆ GetDataManuallyEncoded()

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().

◆ GetErrorCorrection()

◆ GetMask()

◆ GetModel()

◆ SetCellSize()

void com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.SetCellSize ( ICellSquare  cellSize)

◆ SetDataManuallyEncoded()

void com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.SetDataManuallyEncoded ( List< Tuple< QRCodeManualEncodingEnum, String >>  dataManuallyEncoded)

◆ SetErrorCorrection()

void com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.SetErrorCorrection ( QRCodeErrorCorrectionEnum  errorCorrection)

◆ SetMask()

void com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.SetMask ( QRCodeMaskEnum  mask)

◆ SetModel()

void com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.SetModel ( QRCodeModelEnum  model)

◆ toString()

abstract String com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.toString ( )
abstract

Member Data Documentation

◆ cellSize

ICellSquare com.UniPRT.Sdk.LabelMaker.Abstract.AQRBarcode.cellSize
private

◆ dataManuallyEncoded

◆ errorCorrection

◆ mask

◆ model


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