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 Methods)

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 Methods) 繼承自 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 Methods)

 APdf417 ()
 
 APdf417 (IPoint start, String data)
 
int LimitRange (int value, int min, int max)
 用於將數值限制在指定範圍內的工具方法。 更多...
 

私有屬性

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

此類別(class) 文件是由下列檔案中產生: