UniPRT SDK v1.0.0.0
 
載入中...
搜尋中...
無符合項目
LabelMaker.Interfaces.ILabel.ILabel 類別 參考文件

標籤是包含其他列印對象的容器。 更多...

類別LabelMaker.Interfaces.ILabel.ILabel的繼承圖:
LabelMaker.PGL.Label.Label LabelMaker.TSPL.Label.Label

公開方法(Public Methods)

None add_object (self, object add_object)
 添加可以轉換為打印機語言語法的對象。
 
None add_raw_content (self, str raw_content)
 將原始內容添加到標籤中,用於需要添加自定義內容的情況。
 
str __str__ (self)
 返回可以發送到打印機的字串。
 

靜態公開屬性

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

此類別(class) 文件是由下列檔案中產生: