Barcodes in projects

How to use the barcode object with JavaScript


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

// Create the control:
ab = new ActiveXObject("ACTIVEBARCODE.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: