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 bi
C#条形码添加标题文字
最新推荐文章于 2024-07-30 16:13:24 发布
本文介绍如何使用C#结合ZXing库生成条形码,并在条形码上添加标题文字,展示具体实现效果。
摘要由CSDN通过智能技术生成