Notes on Metafiles

The picture images placed on the clipboard by dBarcode are ANISOTROPIC metafiles. This means that they can be resized within applications (usually by dragging a corner).

While the barcode bars can be resized over very wide ranges, any text included within the image may not resize as expected. In general changing the height of the image by resizing within another application will change the fontsize used to render the text. Changing the width of the image within another application may cause the position of any text under the barcode to change.

To overcome textsize problems caused by resizing metafile images choose an alternative fontsize within dBarcode. The use of TrueType fonts is recommended to prevent unusual effects caused by resizing of text.

Using the Target Size dialog and setting height and width values for the final image is useful in ensuring that an appropriate fontsize is used for the image. The dBarcode window will display the image as it would appear at the target size - although the actual size of the image in the dBarcode window will always be as large as possible.

Note that those barcodes which have a nominal size (e.g. the EAN-13 and EAN-8 codes) may be placed on the clipboard as metafiles with the correct height to width ratio by checking the Nominal Size checkbox in the Barcode settings dialog. When this checkbox is checked dBarcode will set the Target Height and Width values to those used for the 100% size of the barcode. Note that most barcodes which have nominal sizes allow the size to be varied in the range 80 - 120% of the nominal values.

Some older Windows applications do not correctly interpret Windows metafiles, and may align text incorrectly - generally placing the text to low on the image. To allow dBarcode's metafiles to be used with such applications, the vertical position of text may be adjusted vertically by a percentage of the font height - see the Barcode settings dialog for details.

More:

Enhanced metafiles