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#条形码添加标题文字
最新推荐文章于 2025-11-28 04:39:48 发布
本文介绍如何使用C#结合ZXing库生成条形码,并在条形码上添加标题文字,展示具体实现效果。

最低0.47元/天 解锁文章
1285

被折叠的 条评论
为什么被折叠?



