UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
ADataMatrix Class Reference

Base class for ADataMatrix. More...

#include <ADataMatrix.h>

Inheritance diagram for ADataMatrix:
ABarcode2D <ISquareCell> <IBarcode2D> <IBarcodeItem_2D> <IPositionRuler> <IRotation> DataMatrixBarcode PglDataMatrixBarcode

Instance Methods

(instancetype) - init
 
(instancetype) - initWithStart:data:
 
(NSString *) - ctrlChar:
 Gets a string that represents non-printable control character in 0-31 range.
 
- Instance Methods inherited from ABarcode2D
(NSString *) - NS_REQUIRES_SUPER
 
- Instance Methods inherited from <IBarcode2D>
(NSString *) - description
 Returns the string that can be sent to printer.
 

Properties

id< IPointstart
 
NSString * data
 
char ctrlCharDelimiter
 
id< ICellSquarecellSize
 
BOOL rectangle
 Sets the shape for barcode to be rectangular shape, otherwise default square shape is used.
 
NSString * fnc1
 Get a string that represents the FNC1 character in order to include it within the barcode data.
 
NSValue * rowsCols
 Specify the number of cells in terms of rows and columns of the barcode if want to manually set the barcode matrix dimensions.
 
- Properties inherited from ABarcode2D
id< IRulerruler
 
id< IPointstart
 
NSString * data
 
RotateEnum rotation
 
- Properties inherited from <IBarcodeItem_2D>
id< IPointstart
 Position where barcode starts.
 
NSString * data
 The barcode content.
 
- Properties inherited from <IPositionRuler>
id< IRulerruler
 
- Properties inherited from <IRotation>
RotateEnum rotation
 
- Properties inherited from <ISquareCell>
id< ICellSquarecellSize
 Barcode cell size. Larger cell size results in barcodes that take up a larger area.
 

Detailed Description

Base class for ADataMatrix.

Method Documentation

◆ ctrlChar:

- (NSString *) ctrlChar: (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.

◆ init

- (instancetype) init

Reimplemented in PglDataMatrixBarcode, and DataMatrixBarcode.

◆ initWithStart:data:

- (instancetype) initWithStart: (id< IPoint >) start
data: (NSString *) data 

Reimplemented in PglDataMatrixBarcode, and DataMatrixBarcode.

Property Documentation

◆ cellSize

- (id<ICellSquare>) cellSize
readwritenonatomicstrong

◆ ctrlCharDelimiter

- (char) ctrlCharDelimiter
readwritenonatomicassign

◆ data

- (NSString*) data
readwritenonatomicstrong

◆ fnc1

- (NSString*) fnc1
readnonatomicassign

Get a string that represents the FNC1 character in order to include it within the barcode data.

◆ rectangle

- (BOOL) rectangle
readwritenonatomicassign

Sets the shape for barcode to be rectangular shape, otherwise default square shape is used.

◆ rowsCols

- (NSValue*) rowsCols
readwritenonatomicstrong

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

◆ start

- (id<IPoint>) start
readwritenonatomicstrong

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