UniPRT SDK v1.0.0.0
 
載入中...
搜尋中...
無符合項目
Label.h
1//
2// Label.h
3// sdk_json_Objective-C
4//
5// Created by Realbuber on 2024/5/16.
6//
7
8#ifndef Label_h
9#define Label_h
10
11#import <Foundation/Foundation.h>
12#import <UniPRT/ILabel.h>
13#import <UniPRT/TsplForm.h>
14#import <UniPRT/Scale.h>
15#import <UniPRT/Defaults.h>
16
42@interface Label : NSObject <ILabel>
43
54@property (nonatomic, strong) TsplForm *form;
55
66@property (nonatomic, strong) Scale *scale;
67
78@property (nonatomic, strong) NSString *name;
79
99- (instancetype)initWithName:(NSString *)name;
100
117- (void)addObject:(id)addObject;
118
144- (void)addRawContent:(NSString *)rawContent;
145
172- (NSString *)description;
173
190- (void)SetName:(NSString *)name;
191
192@end
193
194#endif /* Label_h */
表示 TSPL 標籤的類。
Definition Label.h:42
TsplForm * form
與標籤關聯的格式。
Definition Label.h:54
NSString * description()
返回可以發送到打印機的字符串。
NSString * name
標籤的名稱。
Definition Label.h:78
Scale * scale
與標籤關聯的比例。
Definition Label.h:66
Definition Scale.h:19
Definition TsplForm.h:22
標籤是用於容納其他打印對象的容器。
Definition ILabel.h:29