UniPRT SDK  v1.0.0.0
UniPRT.Sdk.LabelMaker.Interfaces.ADataMatrix Class Referenceabstract

Base class for DataMatrix 2D barcode with ECC 200 error correction. More...

Inheritance diagram for UniPRT.Sdk.LabelMaker.Interfaces.ADataMatrix:
UniPRT.Sdk.LabelMaker.Interfaces.ABarcode2D UniPRT.Sdk.LabelMaker.Interfaces.ISquareCell UniPRT.Sdk.LabelMaker.Interfaces.IBarcode2D UniPRT.Sdk.LabelMaker.Interfaces.IBarcodeItem_2D UniPRT.Sdk.LabelMaker.Interfaces.IPositionRuler UniPRT.Sdk.LabelMaker.Interfaces.IRotation UniPRT.Sdk.LabelMaker.PGL.DataMatrixBarcode UniPRT.Sdk.LabelMaker.TSPL.DataMatrixBarcode

Public Member Functions

virtual string CtrlChar (int decimalCharValue)
 Gets a string that represents non-printable control character in 0-31 range. More...
 
abstract override string ToString ()
 Returns the string that can be sent to printer.
 

Protected Member Functions

 ADataMatrix (IPoint start, string data)
 

Static Protected Attributes

const char _ctrlDelimPgl = '\u000E'
 
const char _ctrlDelimTspl = '~'
 

Properties

virtual ICellSquare CellSize = Defaults.CellSize [get, set]
 
char CtrlCharDelimiter [get, set]
 
virtual string Data [get, set]
 
virtual string FNC1 [get]
 Get a string that represents the FNC1 character in order to include it within the barcode data.
 
virtual bool Rectangle [get, set]
 Sets the shape for barcode to be rectangular shape, otherwise default square shape is used.
 
virtual RotateEnum Rotation = RotateEnum.None [get, set]
 
virtual Tuple< int, int > RowsCols = new Tuple<int, int>(0, 0) [get, set]
 Specify the number of cells in terms of rows and columns of the barcode if want to manually set the barcode matrix dimensions. More...
 
virtual IRuler Ruler = null [get, set]
 
virtual IPoint Start [get, set]
 

Detailed Description

Base class for DataMatrix 2D barcode with ECC 200 error correction.

Member Function Documentation

◆ CtrlChar()

virtual string UniPRT.Sdk.LabelMaker.Interfaces.ADataMatrix.CtrlChar ( int  decimalCharValue)
virtual

Gets a string that represents non-printable control character in 0-31 range.

This is useful when need to include non-printable characters within the barcode data. e.g. End Of Line characters 0x0D (CR) or 0x0A (LF) with decimal values 13 or 10 respectively.

Property Documentation

◆ RowsCols

virtual Tuple<int, int> UniPRT.Sdk.LabelMaker.Interfaces.ADataMatrix.RowsCols = new Tuple<int, int>(0, 0)
getset

Specify the number of cells in terms of rows and columns of the barcode if want to manually set the barcode matrix dimensions.

Must specify valid values for rows and columns based on square or rectangular shape selected by Rectangle.
Valid Square dimensions (row & col): 10, 12, 14, 16, 18, 20, 22, 24, 26, 32, 36, 40, 44, 48, 52, 64, 72, 80, 88, 96, 104, 120, 132, 144
Valid Rectangle dimensions (row x col): 8x18, 8x32, 12x26, 12x36, 16x36, 16x48

Parameters
[in]Item1Rows. 0 to allow automatic dimensions.
[in]Item2Columns. 0 to allow automatic dimensions.