UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.Abstract.APdf417类 参考abstract

PDF417 条码的基类。 更多...

类 com.UniPRT.Sdk.LabelMaker.Abstract.APdf417 继承关系图:
com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D com.UniPRT.Sdk.LabelMaker.Interface.IRectangleCell com.UniPRT.Sdk.LabelMaker.Interface.IBarcode2D com.UniPRT.Sdk.LabelMaker.Interface.IBarcodeItem_2D com.UniPRT.Sdk.LabelMaker.Interface.IPositionRuler com.UniPRT.Sdk.LabelMaker.Interface.IRotation com.UniPRT.Sdk.LabelMaker.PGL.Pdf417Barcode com.UniPRT.Sdk.LabelMaker.TSPL.Pdf417Barcode

Public 成员函数

ICellRect GetCellSize ()
 单元大小可视为 PDF417 行中最窄的条形元素的宽度和高度。 更多...
 
void SetCellSize (ICellRect cellSize)
 
Pdf417ErrCorrectionEnum GetErrorCorrection ()
 
void SetErrorCorrection (Pdf417ErrCorrectionEnum errorCorrection)
 
int GetRows ()
 行数可用于限制条码的高度。 更多...
 
void SetRows (int rows)
 
int GetColumns ()
 列数可用于限制条码的宽度。 更多...
 
void SetColumns (int columns)
 
abstract String toString ()
 
- Public 成员函数 继承自 com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D
IRuler GetRuler ()
 打印分辨率可以设置为英寸或毫米刻度。设置/更新其中一种刻度会导致两者都被更新。 更多...
 
void SetRuler (IRuler ruler)
 
IPoint GetStart ()
 条码开始的位置。 更多...
 
void SetStart (IPoint start)
 
String GetData ()
 条码内容。 更多...
 
void SetData (String data)
 
RotateEnum GetRotation ()
 
void SetRotation (RotateEnum rotation)
 
abstract String ToString ()
 Returns the string that can be sent to printer. 更多...
 

Protected 成员函数

 APdf417 ()
 
 APdf417 (IPoint start, String data)
 
int LimitRange (int value, int min, int max)
 用于将数值限制在指定范围内的工具方法。 更多...
 

Private 属性

ICellRect cellSize
 
Pdf417ErrCorrectionEnum errorCorrection = Pdf417ErrCorrectionEnum.LEVEL_2
 
int rows = 0
 
int columns = 0
 

详细描述

PDF417 条码的基类。

构造及析构函数说明

◆ APdf417() [1/2]

com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.APdf417 ( )
protected

◆ APdf417() [2/2]

成员函数说明

◆ GetCellSize()

ICellRect com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.GetCellSize ( )

单元大小可视为 PDF417 行中最窄的条形元素的宽度和高度。

改变最小元素的尺寸会影响条码的整体宽度和高度。

实现了 com.UniPRT.Sdk.LabelMaker.Interface.IRectangleCell.

引用了 com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.cellSize.

被这些函数引用 com.UniPRT.Sdk.LabelMaker.PGL.Pdf417Barcode.toString() , 以及 com.UniPRT.Sdk.LabelMaker.TSPL.Pdf417Barcode.toString().

◆ GetColumns()

int com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.GetColumns ( )

列数可用于限制条码的宽度。

零值表示列数自动确定。条码必须允许在宽度或高度上增长以适应数据。因此,条码的增长只能通过限制列数或行数 来实现,即通过 Rows 或 Columns。 请注意,起始/停止模式和左右行指示器会产生额外的非数据列,这会创建额外的 4 列。

引用了 com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.columns.

被这些函数引用 com.UniPRT.Sdk.LabelMaker.PGL.Pdf417Barcode.toString() , 以及 com.UniPRT.Sdk.LabelMaker.TSPL.Pdf417Barcode.toString().

◆ GetErrorCorrection()

◆ GetRows()

int com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.GetRows ( )

行数可用于限制条码的高度。

零值表示行数自动确定。条码必须允许在宽度或高度上增长以适应数据。因此,条码的增长只能通过限制行数或列数 来实现,即通过 Rows 或 Columns。

引用了 com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.rows.

被这些函数引用 com.UniPRT.Sdk.LabelMaker.PGL.Pdf417Barcode.toString() , 以及 com.UniPRT.Sdk.LabelMaker.TSPL.Pdf417Barcode.toString().

◆ LimitRange()

int com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.LimitRange ( int  value,
int  min,
int  max 
)
protected

用于将数值限制在指定范围内的工具方法。

参数
value要限制的数值。
min允许的最小值。
max允许的最大值。
返回
限制后的数值。

被这些函数引用 com.UniPRT.Sdk.LabelMaker.PGL.Pdf417Barcode.toString().

◆ SetCellSize()

void com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.SetCellSize ( ICellRect  cellSize)

◆ SetColumns()

void com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.SetColumns ( int  columns)

◆ SetErrorCorrection()

void com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.SetErrorCorrection ( Pdf417ErrCorrectionEnum  errorCorrection)

◆ SetRows()

void com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.SetRows ( int  rows)

◆ toString()

abstract String com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.toString ( )
abstract

类成员变量说明

◆ cellSize

ICellRect com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.cellSize
private

◆ columns

int com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.columns = 0
private

◆ errorCorrection

◆ rows

int com.UniPRT.Sdk.LabelMaker.Abstract.APdf417.rows = 0
private

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