UniPRT SDK v2.0.0.0
 
Loading...
Searching...
No Matches
TsplPicture Class Reference

Represents a picture (bitmap) placed on the label using TSPL. More...

#include <TsplPicture.h>

Inheritance diagram for TsplPicture:
<IPicture>

Instance Methods

(instancetype) - initWithStart:imageName:
 Initializes a new instance of TsplPicture with the specified position and image name.
 
(NSString *) - description
 Converts the picture object to a TSPL command string.
 

Properties

id< IPointStart
 The starting position of the picture.
 
NSString * ImageName
 The name of the image resource.
 
id< IRulerRuler
 The ruler object used for positioning or scaling.
 
- Properties inherited from <IPicture>
id< IRulerRuler
 
id< IPointStart
 
NSString * ImageName
 

Detailed Description

Represents a picture (bitmap) placed on the label using TSPL.

This class implements the IPicture interface and provides functionality for placing and describing bitmap images in TSPL label formats.

Method Documentation

◆ description

- (NSString *) description

Converts the picture object to a TSPL command string.

Returns
A string containing the TSPL command.

Reimplemented from <IPicture>.

◆ initWithStart:imageName:

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

Initializes a new instance of TsplPicture with the specified position and image name.

Parameters
startThe starting position of the picture.
imageNameThe name of the image resource.
Returns
A new instance of TsplPicture.

Property Documentation

◆ ImageName

- (NSString*) ImageName
readwritenonatomiccopy

The name of the image resource.

◆ Ruler

- (id<IRuler>) Ruler
readwritenonatomicstrong

The ruler object used for positioning or scaling.

◆ Start

- (id<IPoint>) Start
readwritenonatomicstrong

The starting position of the picture.


The documentation for this class was generated from the following file: