I'm using 2.0.0 .NET to place a barcode image in a word document on mailmerge. The target xDimension is .406 mm. This produces an image measured in Word of .94x1.46 inch. Printed and measured the xDimension appears to be about .25 mm. which is too small. This was compared with the existing barcode generation system using Word fonts and is smaller.
Here is the interesting part - a non-linearity - gradually increasing the xDimension, the image width stays the same until reaching .53 mm at which time the image in Word jumps to .94x2.67 inch - now much too large. It stays that size as xDimension is further increased to 1.0 mm., and probably beyond.
Here is the code I am using in VS J#:
BarCodeBuilder bb = new BarCodeBuilder();
// AutoSize = true/false tried with no effect.
// Set the Code text for the barcode
// Drop the text from the code image
// Set size to .75 - .8 inch
bb.set_BarHeight(20.0f); //20 mm. printed
// Remove border
// Set small bar/space width to 16 mils
bb.set_xDimension(0.406f); // .406 mm. printed
So, I am I doing anything wrong ?