UniPRT SDK v2.0.0.0
 
Loading...
Searching...
No Matches
LabelMaker.PGL.PglPicture.PglPicture Class Reference

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

Public Member Functions

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

Public Attributes

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

Detailed Description

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

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

Constructor & Destructor Documentation

◆ __init__()

LabelMaker.PGL.PglPicture.PglPicture.__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 (logo) to be printed.

Member Function Documentation

◆ __str__()

str LabelMaker.PGL.PglPicture.PglPicture.__str__ ( self)

Convert this object into a PGL command string.

Returns
The PGL command string representing this picture.

Member Data Documentation

◆ ImageName

str LabelMaker.PGL.PglPicture.PglPicture.ImageName = image_name

◆ Ruler

IRuler LabelMaker.PGL.PglPicture.PglPicture.Ruler = Defaults.ruler()

◆ Start

IPoint LabelMaker.PGL.PglPicture.PglPicture.Start = start

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