UniPRT SDK  v1.0.0.0
Pdf417Barcode 類別 參考文件
類別Pdf417Barcode的繼承圖:
APdf417 ABarcode2D IRectangleCell IBarcode2D IBarcodeItem_2D IPositionRuler IRotation

公開方法(Public Methods)

 Pdf417Barcode (IPoint start, String data)
 
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)
 
String ToString ()
 Returns the string that can be sent to printer.
 
String toString ()
 

保護方法(Protected Methods)

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

函式成員說明文件

◆ GetCellSize()

ICellRect GetCellSize ( )
inherited

單元大小可視為 PDF417 行中最窄的條形元素的寬度和高度。

改變最小元素的尺寸會影響條碼的整體寬度和高度。

實作 IRectangleCell.

◆ GetColumns()

int GetColumns ( )
inherited

列數可用於限制條碼的寬度。

零值表示列數自動確定。條碼必須允許在寬度或高度上成長以適應數據。因此,條碼的成長只能通過限制列數或行數 來實現,即通過 Rows 或 Columns。 請注意,起始/停止模式和左右行指示器會產生額外的非數據列,這會創建額外的 4 列。

◆ GetRows()

int GetRows ( )
inherited

行數可用於限制條碼的高度。

零值表示行數自動確定。條碼必須允許在寬度或高度上成長以適應數據。因此,條碼的成長只能通過限制行數或列數 來實現,即通過 Rows 或 Columns。

◆ GetRuler()

IRuler GetRuler ( )
inherited

列印解析度可以設為英寸或毫米刻度。設置/更新其中一種刻度會導致兩者都被更新。

列印解析度必須與打印機的解析度匹配。如果解析度與打印機不匹配,將導致列印錯誤。

實作 IPositionRuler.

◆ LimitRange()

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

用於將數值限制在指定範圍內的工具方法。

參數
value要限制的數值。
min允許的最小值。
max允許的最大值。
傳回值
限制後的數值。