UniPRT SDK v2.0.0.0
 
载入中...
搜索中...
未找到
LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode类 参考

表示可以打印的Maxicode条形码。 更多...

类 LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode 继承关系图:
LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode LabelMaker.Interfaces.IBcdMaxicode.IMaxicodeBarcode LabelMaker.Interfaces.IBarcode2D.IStartPoint LabelMaker.Interfaces.IBarcode2D.IPositionRuler

Public 成员函数

 __init__ (self, Optional[IPoint] start=None, Optional[IMaxicodeData] data=None)
 初始化 MaxicodeBarcode 类的新实例,并指定起始点和数据。
 
str __str__ (self)
 返回一个可以发送到打印机的字符串。
 
- Public 成员函数 继承自 LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode
 __init__ (self, Optional[IPoint] start=None, Optional[IMaxicodeData] data=None)
 
str __str__ (self)
 构造Maxicode条形码数据的字符串表示形式以供打印。
 
- Public 成员函数 继承自 LabelMaker.Interfaces.IBcdMaxicode.IMaxicodeBarcode
str __str__ (self)
 返回可以发送到打印机的字符串。
 

Public 属性

 rotation = RotateEnum.NONE
 
bool zipper_pattern = False
 
- Public 属性 继承自 LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode
 start = start
 
 data = data
 
 ruler = None
 

详细描述

表示可以打印的Maxicode条形码。

此类提供用于创建和管理具有指定设置和数据的Maxicode条形码的功能。

构造及析构函数说明

◆ __init__()

LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.__init__ ( self,
Optional[IPoint] start = None,
Optional[IMaxicodeData] data = None )

初始化 MaxicodeBarcode 类的新实例,并指定起始点和数据。

参数
start条形码的起始点。
data要在条形码中编码的数据。

成员函数说明

◆ __str__()

str LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.__str__ ( self)

返回一个可以发送到打印机的字符串。

此方法生成MaxicodeBarcode实例的字符串表示形式,格式化并准备发送到打印机。字符串包括所有打印所需的命令和数据。

返回
MaxicodeBarcode实例的字符串描述。

类成员变量说明

◆ rotation

LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.rotation = RotateEnum.NONE

◆ zipper_pattern

bool LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.zipper_pattern = False

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