ADataMatrix 的基類。 更多...
#include <ADataMatrix.h>
實體方法 | |
(instancetype) | - init |
(instancetype) | - initWithStart:data: |
(NSString *) | - ctrlChar: |
獲取表示 0-31 範圍內不可打印控制字符的字符串。 | |
![]() | |
(NSString *) | - NS_REQUIRES_SUPER |
![]() | |
(NSString *) | - description |
返回可以發送到打印機的字符串。 | |
屬性(properties) | |
id< IPoint > | start |
NSString * | data |
char | ctrlCharDelimiter |
id< ICellSquare > | cellSize |
BOOL | rectangle |
設置條碼的形狀為矩形,否則使用默認的正方形。 | |
NSString * | fnc1 |
獲取一個表示FNC1字符的字符串,以便將其包含在條碼數據中。 | |
NSValue * | rowsCols |
如果希望手動設置條碼矩陣的尺寸,請指定條碼的行和列的單元格數量。 | |
![]() | |
id< IRuler > | ruler |
id< IPoint > | start |
NSString * | data |
RotateEnum | rotation |
![]() | |
id< IPoint > | start |
條碼開始的位置。 | |
NSString * | data |
條碼的內容。 | |
![]() | |
id< IRuler > | ruler |
![]() | |
RotateEnum | rotation |
![]() | |
id< ICellSquare > | cellSize |
條碼單元大小。較大的單元大小會使條碼占用更大的面積。 | |
ADataMatrix 的基類。
- (NSString *) ctrlChar: | (int) | decimalCharValue |
獲取表示 0-31 範圍內不可打印控制字符的字符串。
當需要在條碼數據中包含不可打印字符時,這非常有用。例如,行尾字符 0x0D (CR) 或 0x0A (LF),其十進制值分別為 13 或 10。
- (instancetype) init |
在PglDataMatrixBarcode, 及 DataMatrixBarcode重新實作.
- (instancetype) initWithStart: | (id< IPoint >) | start | |
data: | (NSString *) | data |
在PglDataMatrixBarcode, 及 DataMatrixBarcode重新實作.
|
readwritenonatomicstrong |
|
readwritenonatomicassign |
|
readwritenonatomicstrong |
|
readnonatomicassign |
獲取一個表示FNC1字符的字符串,以便將其包含在條碼數據中。
|
readwritenonatomicassign |
設置條碼的形狀為矩形,否則使用默認的正方形。
|
readwritenonatomicstrong |
如果希望手動設置條碼矩陣的尺寸,請指定條碼的行和列的單元格數量。
必須根據由 Rectangle 選擇的方形或矩形形狀指定行和列的有效值。
有效的正方形尺寸(行和列):10, 12, 14, 16, 18, 20, 22, 24, 26, 32, 36, 40, 44, 48, 52, 64, 72, 80, 88, 96, 104, 120, 132, 144
有效的矩形尺寸(行x列):8x18, 8x32, 12x26, 12x36, 16x36, 16x48
|
readwritenonatomicstrong |