表示用於 TSPL 的一維條碼的類。 更多...
#include <Barcode_1D.h>
實體方法 | |
(instancetype) | - init |
初始化 Barcode_1D 類的新實例。 | |
(instancetype) | - initWithBarcodeItem: |
使用指定的條碼項初始化 Barcode_1D 類的新實例。 | |
(NSString *) | - description |
返回可以發送到打印機的字符串。 | |
額外的繼承成員 | |
![]() | |
NSMutableArray< id< IBarcodeItem > > * | barcodes |
BarcodeTypeEnum1D | barcodeType |
id< IRuler > | ruler |
id< IBarWidths > | barWidths |
BOOL | printHumanReadable |
RotateEnum | rotation |
![]() | |
NSMutableArray< id< IBarcodeItem > > * | barcodes |
條碼項目的數組。 | |
![]() | |
id< IRuler > | ruler |
用於定位和高度的標尺。 | |
id< IBarWidths > | barWidths |
條碼放大。窄條/寬條的寬度。 | |
BOOL | printHumanReadable |
在條碼底部打印可讀的PDF文本。 | |
![]() | |
RotateEnum | rotation |
![]() | |
BarcodeTypeEnum1D | barcodeType |
表示用於 TSPL 的一維條碼的類。
該類繼承自 ABarcode1D,並提供了在 TSPL 中初始化和描述一維條碼的功能。
- (NSString *) description |
返回可以發送到打印機的字符串。
該方法生成 Barcode_1D 實例的字符串表示形式, 格式化並準備好發送到打印機。字符串包括在 TSPL 中打印所需的所有命令和數據。
依據<IBarcode1D>重新實作.
- (instancetype) init |
- (instancetype) initWithBarcodeItem: | (id< IBarcodeItem >) | barcode |