I'm using iTextSharp to create Code 39. How can I change the size of the code? I can change only the height of the code (via BarHeight property) but not the width.
My code:
Barcode39 code = new Barcode39();
code.Code = content;
code.Baseline = 20; // Doesn't affect rendering.
code.Size = 20; // Doesn't affect rendering.
code.BarHeight = 60; // DOES affect rendering.
Image img = code.CreateDrawingImage(Color.Black, Color.White);
I could resize the image, but I fear that the resolution of the image would suffer.