c# - Can I use a Label as a barcode representation? -
c# - Can I use a Label as a barcode representation? -
i parse string contains in innards barcode value (such 02410103775).
i create label dynamically so:
private void printbarcodegettingintouchwithitsinnerzebra(string linetoparse) { string barcodetext = getbarcodeval(linetoparse); int barcodeheight = convert.toint32(getbarcodeheight(linetoparse)); int barcodevertstartpos = getbarcodenextverticalstartingpoint(linetoparse); label lblbarcode = new label(); lblbarcode.text = barcodetext; lblbarcode.font = new font(lblbarcode.font.name, barcodeheight, lblbarcode.font.style); lblbarcode.top = barcodevertstartpos; lblbarcode.left = getbarcodenexthorizontalstartingpoint(linetoparse); //lblbarcode.parent = panel2by1labelproxy; // <-- preferred, or line below? panel2by1labelproxy.controls.add(lblbarcode); } right shows barcode value "raw" (as "02410103775" or so); there way morph lable text barcode representation? i'm hoping it's trivial knowing right font.name use...
c# dynamic fonts label
Comments
Post a Comment