UniPRT SDK  v1.0.0.0
QRBarcode Class Reference
Inheritance diagram for QRBarcode:
AQRBarcode ABarcode2D ISquareCell IBarcode2D IBarcodeItem_2D IPositionRuler IRotation

Public Member Functions

 QRBarcode (IPoint start, List< Tuple< QRCodeManualEncodingEnum, String >> dataManuallyEncoded)
 
 QRBarcode (IPoint start, String data)
 
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)
 
String ToString ()
 Returns the string that can be sent to printer.
 
String toString ()
 

Member Function Documentation

◆ GetDataManuallyEncoded()

List<Tuple<QRCodeManualEncodingEnum, String> > GetDataManuallyEncoded ( )
inherited

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.

◆ GetRuler()

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