A class representing a PDF417 barcode for TSPL. More...
#include <Pdf417Barcode.h>
Instance Methods | |
(instancetype) | - init |
Initializes a new instance of the Pdf417Barcode class. | |
(instancetype) | - initWithStart:data: |
Initializes a new instance of the Pdf417Barcode class with the specified start point and data. | |
(NSString *) | - description |
Returns a string that can be sent to the printer. | |
![]() | |
(int) | - limitRange:minimum:maximum: |
Limits a given value to a specified range. | |
![]() | |
(NSString *) | - NS_REQUIRES_SUPER |
Properties | |
id< IPoint > | start |
The starting point of the barcode. | |
NSString * | data |
The data to be encoded in the barcode. | |
![]() | |
id< IPoint > | start |
The starting point of the PDF417 barcode. | |
NSString * | data |
The data to be encoded in the PDF417 barcode. | |
id< ICellRect > | cellSize |
The cell size can be thought of as the width and height of the narrowest bar element within a PDF417 row. | |
Pdf417ErrCorrectionEnum | errorCorrection |
Error correction level for the PDF417 barcode. | |
int | rows |
The number of rows can be used to limit the height of the barcode. | |
int | columns |
The number of columns can be used to limit the width of the barcode. | |
![]() | |
id< IRuler > | ruler |
id< IPoint > | start |
NSString * | data |
RotateEnum | rotation |
![]() | |
id< IPoint > | start |
Position where barcode starts. | |
NSString * | data |
The barcode content. | |
![]() | |
id< IRuler > | ruler |
![]() | |
RotateEnum | rotation |
![]() | |
id< ICellRect > | cellSize |
Barcode cell size. Larger cell size results in barcodes that take up a larger area. | |
A class representing a PDF417 barcode for TSPL.
This class inherits from APdf417 and provides functionality for initializing and describing PDF417 barcodes in TSPL.
- (NSString *) description |
Returns a string that can be sent to the printer.
This method generates a string representation of the Pdf417Barcode instance that is formatted and ready to be sent to a printer. The string includes all the necessary commands and data required for printing in TSPL.
Reimplemented from <IBarcode2D>.
- (instancetype) init |
Initializes a new instance of the Pdf417Barcode class.
- (instancetype) initWithStart: | (id< IPoint >) | start | |
data: | (NSString *) | data |
Initializes a new instance of the Pdf417Barcode class with the specified start point and data.
start | The starting point of the barcode. |
data | The data to be encoded in the barcode. |
Reimplemented from APdf417.
|
readwritenonatomicstrong |
The data to be encoded in the barcode.