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

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -