Hi Guys,
I am creating a dynamic canvas to send to the printer and on this canvas I try add an EAN-13 barcode but I can't get it done.
Then I saw, telerik ui for wpf has "RadBarcodeEAN13" but this doesn't show anything.
RadBarcodeEAN13 BarCode =
new
RadBarcodeEAN13();
BarCode.Text =
"871038168385"
;
cnvPrint.Children.Add(BarCode);
Canvas.SetLeft(BarCode, template.x * positionfactor);
Canvas.SetTop(BarCode, template.y * positionfactor);
when I do something like this
TextBlock BarCode =
new
TextBlock();
the specified textBlock is added ad as text to the canvas (cnvPrint) and ends up in my printer.
where do I go wrong? unfortunately I'm unable to find any examples for this.
Thank you for your help