標籤是包含其他列印對象的容器。 更多...
公開方法(Public Methods) | |
None | add_object (self, object add_object) |
添加可以轉換為打印機語言語法的對象。 | |
None | add_raw_content (self, str raw_content) |
將原始內容添加到標籤中,用於需要添加自定義內容的情況。 | |
str | __str__ (self) |
返回可以發送到打印機的字串。 | |
靜態公開屬性 | |
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 |