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 |
com.UniPRT.Sdk.LabelMaker.TSPL.Label.Label | ( | String | name | ) |
References com.UniPRT.Sdk.LabelMaker.TSPL.Label.AddObject(), com.UniPRT.Sdk.LabelMaker.TsplLib.TSPL.SCALE_UNITS.DOT, com.UniPRT.Sdk.LabelMaker.TSPL.Label.form, com.UniPRT.Sdk.LabelMaker.PrintResolution.GetDotsPerInch(), com.UniPRT.Sdk.LabelMaker.Defaults.GetPrinterResolution(), and com.UniPRT.Sdk.LabelMaker.TSPL.Label.scale.
void com.UniPRT.Sdk.LabelMaker.TSPL.Label.AddObject | ( | Object | addObject | ) |
Add object that can be converted to printer language syntax.
Implements com.UniPRT.Sdk.LabelMaker.Interface.ILabel.
References com.UniPRT.Sdk.LabelMaker.TsplLib.TsplForm.AddTsplObject(), and com.UniPRT.Sdk.LabelMaker.TSPL.Label.form.
Referenced by com.UniPRT.Sdk.LabelMaker.TSPL.Label.Label().
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().
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().
void com.UniPRT.Sdk.LabelMaker.TSPL.Label.SetName | ( | String | name | ) |
String com.UniPRT.Sdk.LabelMaker.TSPL.Label.ToString | ( | ) |
Returns the string that can be sent to printer.
Implements com.UniPRT.Sdk.LabelMaker.Interface.ILabel.
References com.UniPRT.Sdk.LabelMaker.TSPL.Label.form, and com.UniPRT.Sdk.LabelMaker.TsplLib.TsplForm.toString().
|
private |
Referenced by com.UniPRT.Sdk.LabelMaker.TSPL.Label.AddObject(), com.UniPRT.Sdk.LabelMaker.TSPL.Label.AddRawContent(), com.UniPRT.Sdk.LabelMaker.TSPL.Label.GetName(), com.UniPRT.Sdk.LabelMaker.TSPL.Label.Label(), com.UniPRT.Sdk.LabelMaker.TSPL.Label.SetName(), and com.UniPRT.Sdk.LabelMaker.TSPL.Label.ToString().
|
private |
Referenced by com.UniPRT.Sdk.LabelMaker.TSPL.Label.Label().