表示用於 TSPL 的 Maxicode 條碼的類。 更多...
#include <MaxicodeBarcode.h>
實體方法 | |
(instancetype) | - initWithStart:data: |
使用指定的起始點和數據初始化 MaxicodeBarcode 類的新實例。 | |
(NSString *) | - description |
返回可以發送到打印機的字符串。 | |
![]() | |
(instancetype) | - init |
屬性(properties) | |
id< IPoint > | start |
條碼的起始點。 | |
id< IMaxicodeData > | data |
要在條碼中編碼的數據。 | |
RotateEnum | rotation |
條碼的旋轉角度。 | |
BOOL | zipperPattern |
拉鍊圖案可用於幫助檢測打印缺陷,例如淺色/深色打印。 | |
![]() | |
id< IMaxicodeData > | data |
id< IRuler > | ruler |
id< IPoint > | start |
![]() | |
id< IMaxicodeData > | data |
條碼內容。 | |
![]() | |
id< IPoint > | start |
![]() | |
id< IRuler > | ruler |
![]() | |
RotateEnum | rotation |
表示用於 TSPL 的 Maxicode 條碼的類。
該類繼承自 AMaxicodeBarcode 並實現了 IRotation 協議, 提供了在 TSPL 中初始化和描述 Maxicode 條碼的功能。
- (NSString *) description |
返回可以發送到打印機的字符串。
該方法生成 MaxicodeBarcode 實例的字符串表示形式, 格式化並準備好發送到打印機。字符串包括在 TSPL 中打印所需的所有命令和數據。
依據<IMaxicodeBarcode>重新實作.
- (instancetype) initWithStart: | (id< IPoint >) | start | |
data: | (id< IMaxicodeData >) | data |
使用指定的起始點和數據初始化 MaxicodeBarcode 類的新實例。
start | 條碼的起始點。 |
data | 要在條碼中編碼的數據。 |
實作 AMaxicodeBarcode.
|
readwritenonatomicstrong |
要在條碼中編碼的數據。
|
readwritenonatomicassign |
條碼的旋轉角度。
|
readwritenonatomicstrong |
條碼的起始點。
|
readwritenonatomicassign |
拉鍊圖案可用於幫助檢測打印缺陷,例如淺色/深色打印。