上方和下方写入文本

上方和下方写入文本

本文介绍了如何在条形码C#上方和下方写入文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<pre lang="cs">public void drawbarcode()
       {
           try
           {
               string Fontname = comboBox1.Text;
               String degree = comboBox4.Text;


               BaseBarcode b = BarcodeFactory.GetBarcode(GetEnum(Fontname));

               b.ChecksumAdd = checkBox1.Checked;
               b.ChecksumVisible = checkBox2.Checked;
               b.Number = textBox1.Text;
               b.Rotation = GetEnumdegree(degree);





               pictureBox1.Image = b.Render();
               panel1.Controls.Add(pictureBox1);
               panel2.Controls.Remove(label25);



           }









推荐答案

sorry if you have no idea to how to write text above and below the barcode then no need to give suggestion to other.i know how to use label. but here we can not use label. it will no fit with barcode



这篇关于如何在条形码C#上方和下方写入文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 23:02