Base class for PDF417 barcode. More...
#include <APdf417.h>
Instance Methods | |
(instancetype) | - initWithStart:data: |
Initializes a new instance of the APdf417 class with a specified starting point and data. | |
(int) | - limitRange:minimum:maximum: |
Limits a given value to a specified range. | |
![]() | |
(NSString *) | - NS_REQUIRES_SUPER |
![]() | |
(NSString *) | - description |
Returns the string that can be sent to printer. | |
Properties | |
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. | |
Base class for PDF417 barcode.
- (instancetype) initWithStart: | (id< IPoint >) | start | |
data: | (NSString *) | data |
Initializes a new instance of the APdf417 class with a specified starting point and data.
Reimplemented in PglPdf417Barcode, and Pdf417Barcode.
- (int) limitRange: | (int) | value | |
minimum: | (int) | min | |
maximum: | (int) | max |
Limits a given value to a specified range.
value | The value to be limited. |
min | The minimum allowable value. |
max | The maximum allowable value. |
The cell size can be thought of as the width and height of the narrowest bar element within a PDF417 row.
Changing the dimensions of the smallest element affects the overall width and height of the barcode.
|
readwritenonatomicassign |
The number of columns can be used to limit the width of the barcode.
A zero value indicates that columns are determined automatically.
Barcode must be allowed to grow in width or height in order to fit data. For this reason, limiting the growth of the barcode can only be done in one direction either by limiting width or height via rows or columns.
Note that additional non-data columns result from Start/Stop pattern and the Left/Right row indicators. This creates additional 4 columns.
|
readwritenonatomicstrong |
The data to be encoded in the PDF417 barcode.
|
readwritenonatomicassign |
Error correction level for the PDF417 barcode.
|
readwritenonatomicassign |
The number of rows can be used to limit the height of the barcode.
A zero value indicates that rows are determined automatically.
Barcode must be allowed to grow in width or height in order to fit data. For this reason, limiting the growth of the barcode can only be done in one direction either by limiting width or height via rows or columns.