UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
PglLabel.h
1//
2// PglLabel.h
3// sdk_json_Objective-C
4//
5// Created by Realbuber on 2024/5/24.
6//
7
8#ifndef PglLabel_h
9#define PglLabel_h
10
11#import <Foundation/Foundation.h>
12#import <UniPRT/PglForm.h>
13#import <UniPRT/PglScale.h>
14
40@interface PglLabel : NSObject
41
52@property (nonatomic, strong) PglForm *form;
53
64@property (nonatomic, strong) PglScale *scale;
65
76@property (nonatomic, copy) NSString *name;
77
97- (instancetype)initWithName:(NSString *)name;
98
115- (void)addObject:(id)addObject;
116
142- (void)addRawContent:(NSString *)rawContent;
143
160- (NSString *)description;
161
162@end
163
164#endif /* PglLabel_h */
A class representing a label that can be converted to printer language syntax.
Definition PglLabel.h:41
NSString * description()
Returns a string that can be sent to the printer.
PglScale * scale
The scale associated with the label.
Definition PglLabel.h:64
PglForm * form
The form associated with the label.
Definition PglLabel.h:52
NSString * name
The name of the label.
Definition PglLabel.h:76