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

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

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

Public Member Functions

void AddObject (object addObject)
 Add object that can be converted to printer language syntax.
 
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.
 

Properties

string Name [get, set]
 Name of label that may be used to identify it from other labels.
 

Detailed Description

Label is the container for other objects that are printed.

Member Function Documentation

◆ AddRawContent()

void UniPRT.Sdk.LabelMaker.Interfaces.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 UniPRT.Sdk.LabelMaker.PGL.Label, and UniPRT.Sdk.LabelMaker.TSPL.Label.