UniPRT SDK  v1.0.0.0
APdf417类 参考abstract

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

类 APdf417 继承关系图:
ABarcode2D IRectangleCell IBarcode2D IBarcodeItem_2D IPositionRuler IRotation Pdf417Barcode Pdf417Barcode

Public 成员函数

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

Protected 成员函数

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

详细描述

PDF417 条码的基类。

成员函数说明

◆ GetCellSize()

ICellRect GetCellSize ( )

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

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

实现了 IRectangleCell.

◆ GetColumns()

int GetColumns ( )

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

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

◆ GetRows()

int GetRows ( )

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

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

◆ GetRuler()

IRuler GetRuler ( )
inherited

打印分辨率可以设置为英寸或毫米刻度。设置/更新其中一种刻度会导致两者都被更新。

打印分辨率必须与印表机的分辨率匹配。如果分辨率与印表机不匹配,将导致打印错误。

实现了 IPositionRuler.

◆ LimitRange()

int LimitRange ( int  value,
int  min,
int  max 
)
protected

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

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