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 ILabel.h:29