彩票走势图

使用Barcode Xpress创建二维码的步骤

原创|其它|编辑:郝浩|2012-10-31 11:03:35.000|阅读 498 次

概述:具体描述了使用Barcode Xpress创建二维码的步骤。

# 慧都年终大促·界面/图表报表/文档/IDE等千款热门软控件火热促销中 >>

本文具体描述了使用Barcode Xpress创建二维码的步骤。

1 实例化你想创建条码的writer类。

2 设置您想创建的值。

Property

Description

This property gets and sets the value of the barcode to be created.

This property gets and sets the current barcode value as an array of bytes used only if non-ASCII text values are needed.

3 从实例化的writer类中调用创建方法(创建一个hDib)或着CreateBitmap方法(创建一个System.Drawing.Bitmap系统图位图)。这些方法将返回一个预期的条形码形象。

Method

Description

 This method is the main method for creating barcodes.

This method creates bitmap barcodes.

c#——使用Accusoft.BarcodeXpress.Net生成PDF417条形码的基本步骤

//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
imageXView1.Image = Accusoft.ImagXpressSdk.ImageX.FromHdib(imagXpress1, pdf417.Create());
// dispose of the writer PDF417 and barcode component
pdf417.Dispose();
bcx.Dispose();

c# -使用Accusoft.BarcodeXpress.Net编写DataMatrix Barcodes条码的基本步骤

//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 DataMatrix class
WriterDataMatrix dataMatrix = new WriterDataMatrix(bcx);
// Set the text value
dataMatrix.BarcodeValue = "DataMatrix Value";
//call Create and get resulting image
imageXView1.Image = Accusoft.ImagXpressSdk.ImageX.FromHdib(imagXpress1, dataMatrix.Create());
// dispose of the writer DataMatrix and barcode component
dataMatrix.Dispose();
bcx.Dispose();

标签:

本站文章除注明转载外,均为本站原创或翻译。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,如果存在内容上的异议请邮件反馈至chenjj@cahobeh.cn

文章转载自:翻译

为你推荐

  • 推荐视频
  • 推荐活动
  • 推荐产品
  • 推荐文章
  • 慧都慧问
扫码咨询


添加微信 立即咨询

电话咨询

客服热线
023-68661681

TOP