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

1D 条码的非默认参数。 更多...

Public 成员函数

 Barcode_1D_Properties ()
 
PGL.Barcode_Type1D getType ()
 设置条码类型以应用这些参数。 更多...
 
void SetType (PGL.Barcode_Type1D type)
 
PGL.Rotation GetRotation ()
 可选旋转,DIR,根据 PGL 文档。 更多...
 
void SetRotation (PGL.Rotation rotation)
 
String GetMagnification ()
 可选放大倍率,MAG,根据 PGL 文档。 更多...
 
void SetMagnification (String magnification)
 
float GetHeight ()
 可选高度,Hn[.m],根据 PGL 文档。 更多...
 
void SetHeight (float height)
 
boolean IsPrintHumanReadable ()
 在条码底部打印 PDF 人类可读内容。 更多...
 
void SetPrintHumanReadable (boolean printHumanReadable)
 
boolean IsPrintHumanReadableOnTop ()
 在条码顶部打印 PDF 人类可读内容。 更多...
 
void SetPrintHumanReadableOnTop (boolean printHumanReadableOnTop)
 

Private 属性

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

详细描述

1D 条码的非默认参数。

待办事项:
这是 1D 条码常见的基本结构。
不同的条码类型有不同的参数,用户可能希望自定义这些参数。
以下每种条码需要自己的接口,如果我们想要暴露所有 1D PGL 参数:
  • CODE93; [DIR;] [MAG;] [Hn[.m];] [BFn;L;] SR;SC
  • C3/9 [CD]; [HIBC;] [DIR;] [MAG;] [Hn[.m];] [BFn;L;]SR;SC
  • CODABAR[CD];[DIR;] [MAG;] [Hn[.m];] [BFn;L;] SR;SC
  • ITF14;[DIR;] [MAG;] [Hn[.m];] [BFn;L;] SR; SC
  • C128A 或 C128B 或 C128C; [HIBC;] [DIR;] [MAG;] [Hn[.m];] [BFn;L;] SR; SC
  • UCC-128; [DIR;] [MAG;] [Hn[.m];] [BFn;L;] SR;SC
  • EAN13[+n]; [DIR;] [SCB;] [MAG;] [Hn[.m];] [BFn;] SR;SC
  • UPC-A[+n];[DIR;] [SCB;] [MAG;] [Hn[.m];] [BFn;] SR; SC
  • EAN8[+n]; [DIR;] [SCB;] [MAG;] [Hn[.m];] [BFn;] SR; SC

构造及析构函数说明

◆ Barcode_1D_Properties()

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

成员函数说明

◆ GetHeight()

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

可选高度,Hn[.m],根据 PGL 文档。

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

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

◆ GetMagnification()

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

◆ GetRotation()

PGL.Rotation com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.GetRotation ( )

◆ getType()

PGL.Barcode_Type1D com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.getType ( )

设置条码类型以应用这些参数。

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

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

◆ IsPrintHumanReadable()

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

在条码底部打印 PDF 人类可读内容。

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

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

◆ IsPrintHumanReadableOnTop()

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

◆ SetHeight()

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

◆ SetMagnification()

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

◆ SetPrintHumanReadable()

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

◆ SetPrintHumanReadableOnTop()

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

◆ SetRotation()

void com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.SetRotation ( PGL.Rotation  rotation)

◆ SetType()

void com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.SetType ( PGL.Barcode_Type1D  type)

类成员变量说明

◆ height

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

◆ magnification

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

◆ printHumanReadable

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

◆ printHumanReadableOnTop

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

◆ rotation

PGL.Rotation com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.rotation = PGL.Rotation.None
private

◆ type

PGL.Barcode_Type1D com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.type = PGL.Barcode_Type1D.NOT_DEFINED
private

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