原創|其它|編輯:郝浩|2012-10-18 16:46:56.000|閱讀 1482 次
概述:通過可擴展的自定義字段結構,ComponentOne Reports for WinForms能夠很好的支持條形碼字段,條形碼自定義字段主要是利用ComponentOne Studio for Winforms的C1.Win.C1BarCode實現。下文主要展示了通過C1ReportDesigner應用程序實現條形碼在報表中的使用。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
通過可擴展的自定義字段結構,ComponentOne Reports for WinForms能夠很好的支持條形碼字段,條形碼自定義字段主要是利用ComponentOne Studio for Winforms的C1.Win.C1BarCode實現。下文主要展示了通過C1ReportDesigner應用程序實現條形碼在報表中的使用。
A BarCode is an optical machine-readable representation of data relating to the object to which it is attached. BarCodes are very much commercially successful and forms the backbone of automated checkout system in many industries.
Originally barcodes represented data by varying the widths and spacing of parallel lines, and may be referred to as linear or one-dimensional (1D). Later they evolved into rectangles, dots, hexagons and other geometric patterns in two dimensions (2D). And both these forms of the BarCode are supported in C1Reports.
C1Reports offers two forms of BarCode :
The Fields group under Design tab in the C1ReportDesigner application provides tools for adding various report fields including the BarCode field. This toolbar is enabled only in design mode.
In Unbound report, barcode field is disabled. To display a barcode, you need to add a Label field and set its BarCode property to any value other than ‘None’. Whereas in Bound mode, ‘Add Barcode’ button is enabled and on clicking it, a list appears which gives the option to select Data-Fields from the attached data source and display them as barcode.
Various type of barcode formats are supported by C1Reports and you may choose from the available options present in the DropDown.
QR Code (abbreviated from Quick Response Code) is the trademark for a type of matrix barcode (or two-dimensional code) and is now offered by C1Reports as one of it’s custom field but only in the 4.0 Framework.
QRCode custom field is also present in the Fields group of the Design tab in the C1ReportDesigner application.
To use QRcode custom field in the C1ReportDesigner application, follow the given steps:
That’s it! The main aspects of the QRCode field include :
CodeVersion
Encoding
ErrorCorrectionLevel
Run the C1ReportDesigner application, perform the above mentioned steps and Happy Bar-Coding!
本文轉載自://our.componentone.com/2012/10/17/working-with-barcode-in-c1reports/
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉載自:componentone