BarcodeConfig

BarcodeConfig class

Barcode 元素。可用于编码值。使用像素坐标在页面上定位。

public class BarcodeConfig : BaseConfig

构造函数

名称描述
BarcodeConfig()默认构造函数。

属性

名称描述
Align { get; set; }页面上条形码的对齐方式
BarcodeQRVersion { get; set; }QR 码的 QR 版本
BarcodeType { get; set; }条形码元素的类型
DrawCodetext { get; set; }指示是否在条形码图像下方绘制文本)
Height { get; set; }条形码图像的目标高度
override Name { get; set; }条形码名称。对应值 Value
RotationAngle { get; set; }条形码的旋转角度。可以是正值或负值。例如 "90", "-90"
override Type { get; set; }OMR 元素的类型。JSON 序列化所需的字段。
Value { get; set; }要编码的条形码值
X { get; set; }X 坐标。将值设为 -1 可跳过
Y { get; set; }Y 坐标。将值设为 -1 可跳过

另请参阅