UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties类 参考

1D 条码的非默认参数。 不同的条码类型可能需要自定义不同的参数。
如果想要暴露所有 1D TSPL 参数,以下每一个都需要他们自己的接口:
更多...

Public 成员函数

 Barcode_1D_Properties ()
 
TSPL.Barcode_Type1D getType ()
 设置参数所适用的条码类型。 更多...
 
void SetType (TSPL.Barcode_Type1D type)
 
TSPL.Rotation GetRotation ()
 根据 TSPL 文档,可选的旋转参数 DIR。 更多...
 
void SetRotation (TSPL.Rotation rotation)
 
String GetMagnification ()
 根据 TSPL 文档,可选的放大参数 MAG。 更多...
 
void SetMagnification (String magnification)
 
float GetHeight ()
 根据 TSPL 文档,可选的高度参数 Hn[.m]。 更多...
 
void SetHeight (float height)
 
boolean IsPrintHumanReadable ()
 在条码底部打印 PDF 人眼可读的文字。 更多...
 
void SetPrintHumanReadable (boolean printHumanReadable)
 
boolean IsPrintHumanReadableOnTop ()
 不支持 更多...
 
void SetPrintHumanReadableOnTop (boolean printHumanReadableOnTop)
 

Private 属性

TSPL.Barcode_Type1D type = TSPL.Barcode_Type1D.NOT_DEFINED
 
TSPL.Rotation rotation = TSPL.Rotation.None
 
String magnification = ""
 
float height = 0.0f
 
boolean printHumanReadable = false
 
boolean printHumanReadableOnTop = false
 

详细描述

1D 条码的非默认参数。 不同的条码类型可能需要自定义不同的参数。
如果想要暴露所有 1D TSPL 参数,以下每一个都需要他们自己的接口:

  • BARCODE X,Y, "条码类型", 高度, 是否显示人眼可读, 旋转角度, 窄宽比, 宽度, [对齐,] "内容"

构造及析构函数说明

◆ Barcode_1D_Properties()

com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.Barcode_1D_Properties ( )

成员函数说明

◆ GetHeight()

float com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.GetHeight ( )

根据 TSPL 文档,可选的高度参数 Hn[.m]。

引用了 com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.height.

被这些函数引用 com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode1D.Barcode1D().

◆ GetMagnification()

String com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.GetMagnification ( )

◆ GetRotation()

TSPL.Rotation com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.GetRotation ( )

根据 TSPL 文档,可选的旋转参数 DIR。

引用了 com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.rotation.

被这些函数引用 com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode1D.Barcode1D().

◆ getType()

TSPL.Barcode_Type1D com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.getType ( )

设置参数所适用的条码类型。

引用了 com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.type.

被这些函数引用 com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode1D.Barcode1D().

◆ IsPrintHumanReadable()

boolean com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.IsPrintHumanReadable ( )

在条码底部打印 PDF 人眼可读的文字。

引用了 com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.printHumanReadable.

被这些函数引用 com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode1D.Barcode1D().

◆ IsPrintHumanReadableOnTop()

boolean com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.IsPrintHumanReadableOnTop ( )

◆ SetHeight()

void com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.SetHeight ( float  height)

◆ SetMagnification()

void com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.SetMagnification ( String  magnification)

◆ SetPrintHumanReadable()

void com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.SetPrintHumanReadable ( boolean  printHumanReadable)

◆ SetPrintHumanReadableOnTop()

void com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.SetPrintHumanReadableOnTop ( boolean  printHumanReadableOnTop)

◆ SetRotation()

void com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.SetRotation ( TSPL.Rotation  rotation)

◆ SetType()

void com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.SetType ( TSPL.Barcode_Type1D  type)

类成员变量说明

◆ height

float com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.height = 0.0f
private

◆ magnification

String com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.magnification = ""
private

◆ printHumanReadable

boolean com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.printHumanReadable = false
private

◆ printHumanReadableOnTop

boolean com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.printHumanReadableOnTop = false
private

◆ rotation

TSPL.Rotation com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.rotation = TSPL.Rotation.None
private

◆ type

TSPL.Barcode_Type1D com.UniPRT.Sdk.LabelMaker.TsplLib.Barcode_1D_Properties.type = TSPL.Barcode_Type1D.NOT_DEFINED
private

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