UniPRT SDK v1.0.0.0
 
载入中...
搜索中...
未找到
LabelMaker.Interfaces.ILabel.ILabel类 参考

标签是包含其他打印对象的容器。 更多...

类 LabelMaker.Interfaces.ILabel.ILabel 继承关系图:
LabelMaker.PGL.Label.Label LabelMaker.TSPL.Label.Label

Public 成员函数

None add_object (self, object add_object)
 添加可以转换为印表机语言语法的对象。
 
None add_raw_content (self, str raw_content)
 将原始内容添加到标签中,用于需要添加自定义内容的情况。
 
str __str__ (self)
 返回可以发送到印表机的字符串。
 

静态 Public 属性

str name
 

详细描述

标签是包含其他打印对象的容器。

成员函数说明

◆ __str__()

str LabelMaker.Interfaces.ILabel.ILabel.__str__ ( self)

返回可以发送到印表机的字符串。

LabelMaker.PGL.Label.Label , 以及 LabelMaker.TSPL.Label.Label 重载.

◆ add_object()

None LabelMaker.Interfaces.ILabel.ILabel.add_object ( self,
object add_object )

添加可以转换为印表机语言语法的对象。

LabelMaker.PGL.Label.Label , 以及 LabelMaker.TSPL.Label.Label 重载.

◆ add_raw_content()

None LabelMaker.Interfaces.ILabel.ILabel.add_raw_content ( self,
str raw_content )

将原始内容添加到标签中,用于需要添加自定义内容的情况。

添加原始内容允许添加印表机语言命令或其他可能不可用的功能。

不会对内容进行格式化。调用者负责确保内容符合印表机语言语法。

LabelMaker.PGL.Label.Label , 以及 LabelMaker.TSPL.Label.Label 重载.

类成员变量说明

◆ name

str LabelMaker.Interfaces.ILabel.ILabel.name
static

该类的文档由以下文件生成: