Description: 在Delphi中打印条码
1 通过菜单”Component”下的”Import ActiveX”将“Microsoft Access Barcode Control 9.0”控件引入。这个控件(msbcode9.occx)随同Office一起安装到系统中。
2 在“ActiveX”下可以看到该控件,可以直接拖放到窗体上。通过属性设置,可以设置条码类型,内容,宽度、高度等等。
条码的数据是通过”Value”属性设置,也通过Datasource等设置引用数据库字段。高度和宽度通过控件的高度宽度设置,空白区域没有找到办法缩减。
3 代码-Delphi barcode print at one through the menu " Component" under the " Import ActiveX" to " Microsoft Access Barcode Control 9.0" to introduce controls. The controls (msbcode9.occx) together with the installation of Office into the system. 2 in the " ActiveX" can be seen under the control, you can directly drag it to form up. Through property settings, you can set the barcode type, content, width, height and so on. Bar code data is " Value" property settings, such as through setting Datasource reference database fields. Height and width through the height of the width of the control settings, a blank area to find ways to reduce NOT. 3 code Platform: |
Size: 4096 |
Author:闹闹 |
Hits: