UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.TSPL.Label Class Reference
Inheritance diagram for com.UniPRT.Sdk.LabelMaker.TSPL.Label:
com.UniPRT.Sdk.LabelMaker.Interface.ILabel

Public Member Functions

 Label (String name)
 
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...
 

Private Attributes

TsplForm form
 
Scale scale
 

Constructor & Destructor Documentation

◆ Label()

Member Function Documentation

◆ AddObject()

void com.UniPRT.Sdk.LabelMaker.TSPL.Label.AddObject ( Object  addObject)

◆ AddRawContent()

void com.UniPRT.Sdk.LabelMaker.TSPL.Label.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.

Implements com.UniPRT.Sdk.LabelMaker.Interface.ILabel.

References com.UniPRT.Sdk.LabelMaker.TSPL.Label.form, and com.UniPRT.Sdk.LabelMaker.TsplLib.TsplForm.RawContent().

◆ GetName()

String com.UniPRT.Sdk.LabelMaker.TSPL.Label.GetName ( )

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

Implements com.UniPRT.Sdk.LabelMaker.Interface.ILabel.

References com.UniPRT.Sdk.LabelMaker.TSPL.Label.form, and com.UniPRT.Sdk.LabelMaker.TsplLib.TsplForm.GetName().

◆ SetName()

void com.UniPRT.Sdk.LabelMaker.TSPL.Label.SetName ( String  name)

◆ ToString()

String com.UniPRT.Sdk.LabelMaker.TSPL.Label.ToString ( )

Member Data Documentation

◆ form

◆ scale

Scale com.UniPRT.Sdk.LabelMaker.TSPL.Label.scale
private

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