Version 5.56 | Index Print view


JavaScript - Use the barcode control

How to use the barcode control with JavaScript (Windows)

You can create the ActiveBarcode Control with Javascript (e.g., with the Internet Explorer) at run time and use is non visual:

// Create the control:
ab = new ActiveXObject("BARCODE.BarcodeCtrl.1");

// Set the barcode type and content:
ab.text = "Example";
ab.typename = "Code 128";

// Save the barcode as image file:
ab.SaveAsBySize("example.bmp", 400, 100);

// Example: Show the controls about box:
ab.aboutbox();




| Home | Shop | Email | Datenschutz | Sitemap | © Lars Schenk & Frank Horn

All trademarks and product names mentioned are the property of their respective owners.

ActiveBarcode:
Barcode OCX and Software
The complete solution for all popular barcode types
www.ActiveBarcode.com