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

Represents a picture placed on the label using TSPL. More...

Public Member Functions

 __init__ (self, IPoint start, str image_name)
 Initialize with position and image name.
 
 __str__ (self)
 Convert this object into a TSPL command string.
 

Public Attributes

 Start = start
 
 ImageName = image_name
 
IRuler Ruler = Defaults.ruler()
 

Detailed Description

Represents a picture placed on the label using TSPL.

This class defines a TSPL picture object that can be positioned on a label and converted into a TSPL command string.

Constructor & Destructor Documentation

◆ __init__()

LabelMaker.TSPL.TsplPicture.TsplPicture.__init__ ( self,
IPoint start,
str image_name )

Initialize with position and image name.

Parameters
startIPoint object indicating the position.
image_nameThe name of the image to be printed.

Member Function Documentation

◆ __str__()

LabelMaker.TSPL.TsplPicture.TsplPicture.__str__ ( self)

Convert this object into a TSPL command string.

Returns
The TSPL command string representing this picture.

Member Data Documentation

◆ ImageName

LabelMaker.TSPL.TsplPicture.TsplPicture.ImageName = image_name

◆ Ruler

IRuler LabelMaker.TSPL.TsplPicture.TsplPicture.Ruler = Defaults.ruler()

◆ Start

LabelMaker.TSPL.TsplPicture.TsplPicture.Start = start

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