概述:
为了得到一个精确的图片,你可以根据所需条形码的水平和垂直尺寸调整图像的像素大小。通过使用属性2DXCols(模块的列数)和2DXRows(模块的行数),就可以对图像的尺寸进行优化:
Dim nScale As Long
Dim nXSize As Long
Dim nYSize As Long
' 1) Initialize the barcode
TBarCode111.Text = "Somedata"
TBarCode111.BarCode = TBarCode11Lib.eBC_MicroPDF417
' 2) Use 5 pixels per module
nScale = 5 .............》》》查看全文