调用方法如下:(无水印,资源可靠) var writer = new BarcodeWriter { Format = BarcodeFormat.PDF_417, Options = new EncodingOptions { Width=456, Height=100, Margin = 0 } }; var imgBitmap = writer.Write(eCode); }; var imgBitmap = writer.Write(eCode);