Aztec 2D 条形码的基类。 更多...
#include <AAztecBarcode.h>
构造函数 | |
(instancetype) | - init |
初始化 AAztecBarcode 类的新实例。 | |
(instancetype) | - initWithStart:data: |
使用指定的起点和数据初始化 AAztecBarcode 类的新实例。 | |
(int) | - getLayersWithinRange |
获取有效范围内的层数。 | |
(BOOL) | - hasLayers |
检查条形码是否有层。 | |
(int) | - getErrCorrectionPercent |
获取错误更正百分比。 | |
![]() | |
(NSString *) | - NS_REQUIRES_SUPER |
![]() | |
(NSString *) | - description |
返回可以发送到印表机的字符串。 | |
属性 | |
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 条形码的类型。