原創|其它|編輯:郝浩|2012-10-31 11:03:35.000|閱讀 519 次
概述:具體描述了使用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@fc6vip.cn
文章轉載自:翻譯