Public Member Functions | |
ICellSquare | GetCellSize () |
Barcode cell size. Larger cell size results in barcodes that take up a larger area. | |
String | GetCtrlChar (int decimalCharValue) |
Gets a string that represents non-printable control character in 0-31 range. More... | |
String | GetData () |
The barcode content. | |
String | GetFNC1 () |
Get a string that represents the FNC1 character in order to include it within the barcode data. | |
RotateEnum | GetRotation () |
Tuple< Integer, Integer > | GetRowsCols () |
Specify the number of cells in terms of rows and columns of the barcode if want to manually set the barcode matrix dimensions. More... | |
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. | |
boolean | IsRectangle () |
Sets the shape for barcode to be rectangular shape, otherwise default square shape is used. | |
void | SetCellSize (ICellSquare cellSize) |
void | SetData (String data) |
void | SetRectangle (boolean rectangle) |
void | SetRotation (RotateEnum rotation) |
void | SetRowsCols (Tuple< Integer, Integer > rowsCols) |
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 | |
ADataMatrix (IPoint start, String data) | |
Protected Attributes | |
char | ctrlCharDelimiter = CTRL_DELIM_PGL |
Static Protected Attributes | |
static final char | CTRL_DELIM_PGL = '\u000E' |
static final char | CTRL_DELIM_TSPL = '~' |
String GetCtrlChar | ( | int | decimalCharValue | ) |
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.
Tuple<Integer, Integer> GetRowsCols | ( | ) |
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
[in] | Item1 | Rows. 0 to allow automatic dimensions. |
[in] | Item2 | Columns. 0 to allow automatic dimensions. |
|
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.