表示用于 TSPL 的 Aztec 条码的类。 更多...
#include <AztecBarcode.h>
构造函数 | |
(instancetype) | - init |
初始化 AztecBarcode 类的新实例。 | |
(instancetype) | - initWithStart:data: |
使用指定的起始点和数据初始化 AztecBarcode 类的新实例。 | |
(NSString *) | - description |
返回可以发送到印表机的字符串。 | |
![]() | |
(int) | - getLayersWithinRange |
获取有效范围内的层数。 | |
(BOOL) | - hasLayers |
检查条形码是否有层。 | |
(int) | - getErrCorrectionPercent |
获取错误更正百分比。 | |
![]() | |
(NSString *) | - NS_REQUIRES_SUPER |
额外继承的成员函数 | |
![]() | |
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 |
条码单元大小。较大的单元大小会使条码占用更大的面积。 | |
表示用于 TSPL 的 Aztec 条码的类。
该类继承自 AAztecBarcode,并提供了在 TSPL 中初始化和描述 Aztec 条码的功能。
- (NSString *) description |
返回可以发送到印表机的字符串。
该方法生成 AztecBarcode 实例的字符串表示形式, 格式化并准备好发送到印表机。字符串包括在 TSPL 中打印所需的所有命令和数据。
重载 <IBarcode2D> .
- (instancetype) init |
- (instancetype) initWithStart: | (id< IPoint >) | start | |
data: | (NSString *) | data |
使用指定的起始点和数据初始化 AztecBarcode 类的新实例。
start | 条码的起始点。 |
data | 要在条码中编码的数据。 |
重载 AAztecBarcode .