2 u011746061 u011746061 于 2013.09.09 14:28 提问

Barcode Xpress中怎么样创建PDF417条形码

Barcode Xpress中怎么样创建PDF417条形码呢,求教····

1个回答

u012219831
u012219831   2013.09.24 11:21
已采纳

试试下面的代码:

//create and unlock the BarcodeXpress component
BarcodeXpress bcx = new BarcodeXpress();
// The SetSolutionName and SetSolutionKey methods must be called to distribute the runtime.
bcx.Licensing.SetSolutionName("YourSolutionName");
bcx.Licensing.SetSolutionKey(12345,12345,12345,12345);
// The SetOEMLicenseKey method is required if Manually Reported Runtime Licensing is used.
bcx.Licensing.SetOEMLicenseKey("1.0.AStringForOEMLicensing");
//Create the writer PDF417 class
WriterPDF417 pdf417 = new WriterPDF417(bcx);
// Set the text value
pdf417.BarcodeValue = "PDF417 Value";
//call Create and get resulting image
if (imageXView1.Image != null)
imageXView.Image.Dispose();
imageXView1.Image = Accusoft.ImagXpressSdk.ImageX.FromHdib(imagXpress1, pdf417.Create(), true);
// dispose of the writer PDF417 and barcode component
pdf417.Dispose();
bcx.Dispose();

其他的类型的条码创建,看看2D这个http://www.evget.com/zh-CN/Info/catalog/19569.html

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!