TBarCode Library 11  TBarCode Library 11
ERRCODE BCSet_PDF417_RowColRatioA ( t_BarCode pBarCode,
LPCSTR  szRatio 
)

Sets PDF417 row to column ratio to a fixed value.

Sets the ratio between PDF417-rows and PDF417-columns. Does only work, if neither the value of PDF417-rows (BCSet_PDF417_Rows()) nor PDF417-columns (BCSet_PDF417_Columns()) are set to a constant value. If not set, the row:column ratio is chosen automatically by TBarCode (default).

See also:
BCGet_PDF417_RowColRatio()
Parameters:
[in]pBarCodePointer to barcode structure.
[in]szRatioRatio-string "rows:columns" in the form "3:5" (reset to default = null).
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.