The Active Barcode Control creates a barcode image at a size specified by the user. However, the metafile image is fully resizable by the user - so can be displayed or printed at a size other than that originally created.
There are three ways of specifying the size at which the image is created:
1. For a limited number of barcode types there is a Nominal size (ie. A size specified by the standards body responsible for that barcode type). EAN, UPC and ITF barcodes have nominal sizes. In general it is recommended that these barcode types be reproduced either at the nominal size or within a fairly narrow range of sizes around nominal (typically 80 - 120% of nominal). These barcode types may have their size specified by setting the NominalSize property. After the image has been created the PictureWidth and PictureHeight properties contain the actual width and height of the barcode image.
2. Any barcode type may have the image size specified by setting the xunit property to the width of the narrowest element in the barcode (narrowbar) when the NominalSize property is set to 0. Xunit values are specified in Mils. In this case the initial setting of the ImageWidth property is ignored. After the image has been created the PictureWidth and PictureHeight properties contain the actual width and height of the barcode picture.
3. Any barcode type may have the image size specified by setting the ImageWidth and ImageHeight properties when the NominalSize property is set to 0 and the xunit property is set to 0.
More: