*本例子介绍了如何使用set_bar_code_param_specific算子和get_bar_code_param_specific算子
- Example program for the usage of the operators
- set_bar_code_param_specific and get_bar_code_param_specific.
- 本例子中,目的是想要同时解码两个一维码。但是想要的是EAN-13这个码大概是垂直方向而Code 39是水平方向
- In this example we want to decode two bar codes in one
- image simultaneously but we demand that the EAN-13 code
- is approximately vertical whereas the Code 39 code is
- approximately horizontal.
- 初始化
- Initialization
*关闭更新
dev_update_off ()
*关闭窗体
dev_close_window () - 创建一维码读取器
- Create bar code reader model
create_bar_code_model ([], [], BarCodeHandle) - 定义要用的图像
- Define example images to use
ExampleImage := ‘barcode/mixed/barcode_mixed_02’ - 读取图像并设置几个显示参数
- Read and show the image, set a few display parameters
*显示图像
read_image (Image, ExampleImage)
*打开适合图像尺寸的窗体
dev_ope