UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.Interface.ILabel Interface Reference

Label is the container for other objects that are printed. More...

Inheritance diagram for com.UniPRT.Sdk.LabelMaker.Interface.ILabel:
com.UniPRT.Sdk.LabelMaker.PGL.Label com.UniPRT.Sdk.LabelMaker.TSPL.Label

Public Member Functions

String GetName ()
 Name of label that may be used to identify it from other labels. More...
 
void SetName (String name)
 
void AddObject (Object addObject)
 Add object that can be converted to printer language syntax. More...
 
void AddRawContent (String rawContent)
 Raw content added to label for cases where custom content needs to be added. More...
 
String ToString ()
 Returns the string that can be sent to printer. More...
 

Detailed Description

Label is the container for other objects that are printed.

Member Function Documentation

◆ AddObject()

void com.UniPRT.Sdk.LabelMaker.Interface.ILabel.AddObject ( Object  addObject)

Add object that can be converted to printer language syntax.

Implemented in com.UniPRT.Sdk.LabelMaker.PGL.Label, and com.UniPRT.Sdk.LabelMaker.TSPL.Label.

◆ AddRawContent()

void com.UniPRT.Sdk.LabelMaker.Interface.ILabel.AddRawContent ( String  rawContent)

Raw content added to label for cases where custom content needs to be added.

Adding raw content allows adding of printer language commands or other features that may not be available.
No formatting of content is done. Caller responsible for making sure content follows printer language syntax.

Implemented in com.UniPRT.Sdk.LabelMaker.PGL.Label, and com.UniPRT.Sdk.LabelMaker.TSPL.Label.

◆ GetName()

String com.UniPRT.Sdk.LabelMaker.Interface.ILabel.GetName ( )

Name of label that may be used to identify it from other labels.

Implemented in com.UniPRT.Sdk.LabelMaker.PGL.Label, and com.UniPRT.Sdk.LabelMaker.TSPL.Label.

◆ SetName()

void com.UniPRT.Sdk.LabelMaker.Interface.ILabel.SetName ( String  name)

◆ ToString()

String com.UniPRT.Sdk.LabelMaker.Interface.ILabel.ToString ( )

Returns the string that can be sent to printer.

Implemented in com.UniPRT.Sdk.LabelMaker.PGL.Label, and com.UniPRT.Sdk.LabelMaker.TSPL.Label.


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