UniPRT SDK v1.0.0.0
 
載入中...
搜尋中...
無符合項目
AztecBarcode 類別 參考文件

表示用於 TSPL 的 Aztec 條碼的類。 更多...

#include <AztecBarcode.h>

類別AztecBarcode的繼承圖:
AAztecBarcode ABarcode2D <ISquareCell> <IBarcode2D> <IBarcodeItem_2D> <IPositionRuler> <IRotation>

實體方法

(instancetype) - init
 初始化 AztecBarcode 類的新實例。
 
(instancetype) - initWithStart:data:
 使用指定的起始點和數據初始化 AztecBarcode 類的新實例。
 
(NSString *) - description
 返回可以發送到打印機的字符串。
 
- 實體方法 繼承自 AAztecBarcode
(int) - getLayersWithinRange
 獲取有效範圍內的層數。
 
(BOOL) - hasLayers
 檢查條形碼是否有層。
 
(int) - getErrCorrectionPercent
 獲取錯誤更正百分比。
 
- 實體方法 繼承自 ABarcode2D
(NSString *) - NS_REQUIRES_SUPER
 

額外的繼承成員

- 屬性(properties) 繼承自 AAztecBarcode
id< ICellSquarecellSize
 條形碼的單元格大小。
 
AztecCodeTypeEnum type
 Aztec 條形碼的類型。
 
int layers
 AztecCodeTypeEnum.Compact 或 AztecCodeTypeEnum.Full 條形碼類型使用的層數。
 
int fixedErrCorrection
 此百分比錯誤更正值僅適用於 AztecCodeTypeEnum.FixedErrCorrection。
 
- 屬性(properties) 繼承自 ABarcode2D
id< IRulerruler
 
id< IPointstart
 
NSString * data
 
RotateEnum rotation
 
- 屬性(properties) 繼承自 <IBarcodeItem_2D>
id< IPointstart
 條碼開始的位置。
 
NSString * data
 條碼的內容。
 
- 屬性(properties) 繼承自 <IPositionRuler>
id< IRulerruler
 
- 屬性(properties) 繼承自 <IRotation>
RotateEnum rotation
 
- 屬性(properties) 繼承自 <ISquareCell>
id< ICellSquarecellSize
 條碼單元大小。較大的單元大小會使條碼占用更大的面積。
 

詳細描述

表示用於 TSPL 的 Aztec 條碼的類。

該類繼承自 AAztecBarcode,並提供了在 TSPL 中初始化和描述 Aztec 條碼的功能。

方法文件

◆ description

- (NSString *) description

返回可以發送到打印機的字符串。

該方法生成 AztecBarcode 實例的字符串表示形式, 格式化並準備好發送到打印機。字符串包括在 TSPL 中打印所需的所有命令和數據。

傳回值
AztecBarcode 實例的字符串描述。

依據<IBarcode2D>重新實作.

◆ init

- (instancetype) init

初始化 AztecBarcode 類的新實例。

傳回值
AztecBarcode 的新實例。

依據AAztecBarcode重新實作.

◆ initWithStart:data:

- (instancetype) initWithStart: (id< IPoint >) start
data: (NSString *) data 

使用指定的起始點和數據初始化 AztecBarcode 類的新實例。

參數
start條碼的起始點。
data要在條碼中編碼的數據。
傳回值
AztecBarcode 的新實例。

依據AAztecBarcode重新實作.


此類別(class) 文件是由下列檔案中產生: