using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ZXing;
using ZXing.Common;
using ZXing.QrCode;
using System.IO;
namespace Jbarcode
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
//this.pictureBox1.BackColor = Color.Red;
//ITF偶数码 MSI长度随意
EncodingOptions options = new EncodingOptions
{
Width = 400,
Height = 100
};
BarcodeWriter writer = new BarcodeWriter
{
//Format = BarcodeFormat.MSI,
Format = BarcodeFormat.CODE_39,
Options = options
};
Bitmap bitmap = writer.Write("123456");
C#条形码添加标题文字
最新推荐文章于 2024-07-30 16:13:24 发布