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

表示 QR 码条形码的类。 更多...

类 LabelMaker.PGL.QRBarcode.QRBarcode 继承关系图:
LabelMaker.Interfaces.IBcdQRCode.AQRBarcode LabelMaker.Interfaces.IBarcode2D.ABarcode2D LabelMaker.Interfaces.IBarcode2D.ISquareCell LabelMaker.Interfaces.IBarcode2D.IBarcode2D LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D LabelMaker.Interfaces.IBarcode2D.IPositionRuler LabelMaker.Interfaces.ISettings.IRotation

Public 成员函数

 __init__ (self, IPoint start, data="", Optional[List[List[Union[int, str]]]] data_manually_encoded=None)
 使用指定的起始点、数据和手动编码数据(可选)初始化 QRBarcode 类的新实例。
 
str __str__ (self)
 返回一个可以发送到印表机的字符串。
 

Public 属性

 start
 
 data
 
 data_manually_encoded
 
- Public 属性 继承自 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode
 data_manually_encoded
 
 mask
 
 model
 
 error_correction
 
 cell_size
 
- Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D
 start
 
 data
 
 ruler
 
 rotation
 

额外继承的成员函数

- 静态 Public 属性 继承自 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode
IPoint start
 
str data
 
List data_manually_encoded [List[str]]
 
QRCodeMaskEnum mask
 
QRCodeModelEnum model
 
QRCodeErrorCorrectionEnum error_correction
 
ICellSquare cell_size
 
- 静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D
IPoint start
 
str data
 
- 静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.IPositionRuler
IRuler ruler
 
- 静态 Public 属性 继承自 LabelMaker.Interfaces.ISettings.IRotation
RotateEnum rotation
 
- 静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.ISquareCell
ICellSquare cell_size
 

详细描述

表示 QR 码条形码的类。

此类继承自 AQRBarcode,并提供了用于初始化、配置和描述 QR 码条形码的功能。 QR 码条形码可以配置为自动或手动编码模式以及不同的纠错级别。

构造及析构函数说明

◆ __init__()

LabelMaker.PGL.QRBarcode.QRBarcode.__init__ ( self,
IPoint start,
data = "",
Optional[List[List[Union[int, str]]]] data_manually_encoded = None )

使用指定的起始点、数据和手动编码数据(可选)初始化 QRBarcode 类的新实例。

此构造函数使用提供的起始点、数据和可选的手动编码数据设置一个新的 QRBarcode 对象。 数据代表要在 QR 码条形码中编码的资讯。

参数
startQR 码的起始点。
data要在 QR 码中编码的数据。
data_manually_encoded用于 QR 码的手动编码数据点数组。

重载 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode .

成员函数说明

◆ __str__()

str LabelMaker.PGL.QRBarcode.QRBarcode.__str__ ( self)

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

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

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

重载 LabelMaker.Interfaces.IBarcode2D.ABarcode2D .

类成员变量说明

◆ data

LabelMaker.PGL.QRBarcode.QRBarcode.data

◆ data_manually_encoded

LabelMaker.PGL.QRBarcode.QRBarcode.data_manually_encoded

◆ start

LabelMaker.PGL.QRBarcode.QRBarcode.start

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