I am using ZXing.NET to generate Barcode. It says I need a rendering instance to show the Barcode as Bitmap Image. I don't know to do that.
Код: Выделить всё
private void GenerateBarcode(object parameter)
{
string barcodeContent = "123456789";
BarcodeWriter barcodeWriter = new BarcodeWriter();
barcodeWriter.Format = BarcodeFormat.CODE_128;
BarcodeImage = barcodeWriter.Write(barcodeContent);
}
Источник: https://stackoverflow.com/questions/781 ... g-instance
Мобильная версия