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

Aztec 2D 條形碼的基類。 更多...

#include <AAztecBarcode.h>

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

實體方法

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

屬性(properties)

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
 條碼單元大小。較大的單元大小會使條碼占用更大的面積。
 

詳細描述

Aztec 2D 條形碼的基類。

方法文件

◆ getErrCorrectionPercent

- (int) getErrCorrectionPercent

獲取錯誤更正百分比。

傳回值
錯誤更正百分比。

◆ getLayersWithinRange

- (int) getLayersWithinRange

獲取有效範圍內的層數。

傳回值
層數。

◆ hasLayers

- (BOOL) hasLayers

檢查條形碼是否有層。

傳回值
如果條形碼有層,則返回 YES,否則返回 NO。

◆ init

- (instancetype) init

初始化 AAztecBarcode 類的新實例。

PglAztecBarcode, 及 AztecBarcode重新實作.

◆ initWithStart:data:

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

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

參數
startAztec 條形碼的起點。
data要編碼到 Aztec 條形碼中的數據。
傳回值
AAztecBarcode 的新實例。

PglAztecBarcode, 及 AztecBarcode重新實作.

屬性(property)說明文件

◆ cellSize

- (id<ICellSquare>) cellSize
readwritenonatomicstrong

條形碼的單元格大小。

◆ fixedErrCorrection

- (int) fixedErrCorrection
readwritenonatomicassign

此百分比錯誤更正值僅適用於 AztecCodeTypeEnum.FixedErrCorrection。

有效範圍:1 - 99。任何超出範圍的值將被忽略並限制在範圍內。

◆ layers

- (int) layers
readwritenonatomicassign

AztecCodeTypeEnum.Compact 或 AztecCodeTypeEnum.Full 條形碼類型使用的層數。

有效範圍:AztecCodeTypeEnum.Compact 條形碼類型為 1 - 4。

有效範圍:AztecCodeTypeEnum.Full 條形碼類型為 1 - 32。

任何超出範圍的值將被忽略並限制在範圍內。

◆ type

- (AztecCodeTypeEnum) type
readwritenonatomicassign

Aztec 條形碼的類型。


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