标签是包含其他打印对象的容器。 更多...
Public 成员函数 | |
None | add_object (self, object add_object) |
添加可以转换为印表机语言语法的对象。 | |
None | add_raw_content (self, str raw_content) |
将原始内容添加到标签中,用于需要添加自定义内容的情况。 | |
str | __str__ (self) |
返回可以发送到印表机的字符串。 | |
静态 Public 属性 | |
str | name |
标签是包含其他打印对象的容器。
str LabelMaker.Interfaces.ILabel.ILabel.__str__ | ( | self | ) |
返回可以发送到印表机的字符串。
被 LabelMaker.PGL.Label.Label , 以及 LabelMaker.TSPL.Label.Label 重载.
None LabelMaker.Interfaces.ILabel.ILabel.add_object | ( | self, | |
object | add_object ) |
添加可以转换为印表机语言语法的对象。
被 LabelMaker.PGL.Label.Label , 以及 LabelMaker.TSPL.Label.Label 重载.
None LabelMaker.Interfaces.ILabel.ILabel.add_raw_content | ( | self, | |
str | raw_content ) |
将原始内容添加到标签中,用于需要添加自定义内容的情况。
添加原始内容允许添加印表机语言命令或其他可能不可用的功能。
不会对内容进行格式化。调用者负责确保内容符合印表机语言语法。
被 LabelMaker.PGL.Label.Label , 以及 LabelMaker.TSPL.Label.Label 重载.
|
static |