Aztec 2D 條形碼的基類。 更多...
#include <AAztecBarcode.h>
實體方法 | |
(instancetype) | - init |
初始化 AAztecBarcode 類的新實例。 | |
(instancetype) | - initWithStart:data: |
使用指定的起點和數據初始化 AAztecBarcode 類的新實例。 | |
(int) | - getLayersWithinRange |
獲取有效範圍內的層數。 | |
(BOOL) | - hasLayers |
檢查條形碼是否有層。 | |
(int) | - getErrCorrectionPercent |
獲取錯誤更正百分比。 | |
![]() | |
(NSString *) | - NS_REQUIRES_SUPER |
![]() | |
(NSString *) | - description |
返回可以發送到打印機的字符串。 | |
屬性(properties) | |
id< ICellSquare > | cellSize |
條形碼的單元格大小。 | |
AztecCodeTypeEnum | type |
Aztec 條形碼的類型。 | |
int | layers |
AztecCodeTypeEnum.Compact 或 AztecCodeTypeEnum.Full 條形碼類型使用的層數。 | |
int | fixedErrCorrection |
此百分比錯誤更正值僅適用於 AztecCodeTypeEnum.FixedErrCorrection。 | |
![]() | |
id< IRuler > | ruler |
id< IPoint > | start |
NSString * | data |
RotateEnum | rotation |
![]() | |
id< IPoint > | start |
條碼開始的位置。 | |
NSString * | data |
條碼的內容。 | |
![]() | |
id< IRuler > | ruler |
![]() | |
RotateEnum | rotation |
![]() | |
id< ICellSquare > | cellSize |
條碼單元大小。較大的單元大小會使條碼占用更大的面積。 | |
Aztec 2D 條形碼的基類。
- (int) getErrCorrectionPercent |
獲取錯誤更正百分比。
- (int) getLayersWithinRange |
獲取有效範圍內的層數。
- (BOOL) hasLayers |
檢查條形碼是否有層。
- (instancetype) init |
初始化 AAztecBarcode 類的新實例。
在PglAztecBarcode, 及 AztecBarcode重新實作.
- (instancetype) initWithStart: | (id< IPoint >) | start | |
data: | (NSString *) | NS_DESIGNATED_INITIALIZER |
使用指定的起點和數據初始化 AAztecBarcode 類的新實例。
start | Aztec 條形碼的起點。 |
data | 要編碼到 Aztec 條形碼中的數據。 |
在PglAztecBarcode, 及 AztecBarcode重新實作.
|
readwritenonatomicstrong |
條形碼的單元格大小。
|
readwritenonatomicassign |
此百分比錯誤更正值僅適用於 AztecCodeTypeEnum.FixedErrCorrection。
有效範圍:1 - 99。任何超出範圍的值將被忽略並限制在範圍內。
|
readwritenonatomicassign |
AztecCodeTypeEnum.Compact 或 AztecCodeTypeEnum.Full 條形碼類型使用的層數。
有效範圍:AztecCodeTypeEnum.Compact 條形碼類型為 1 - 4。
有效範圍:AztecCodeTypeEnum.Full 條形碼類型為 1 - 32。
任何超出範圍的值將被忽略並限制在範圍內。
|
readwritenonatomicassign |
Aztec 條形碼的類型。