iTextSharpを使用してCode39を作成しています。コードのサイズを変更するにはどうすればよいですか?コードの高さのみを(BarHeightプロパティを介して)変更できますが、幅は変更できません。
私のコード:
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);
画像のサイズを変更することはできますが、画像の解像度が低下するのではないかと心配しています。