Cs/BarCode39.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Collections;
using System.Configuration;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using System.Drawing.Text;
namespace Printer.Cs
{
public class BarCode39
{
public enum AlignType
{
Left, Center, Right
}
public enum BarCodeWeight
{
Small = 1, Medium, Large
}
private AlignType align = AlignType.Center;
private String code = "";
private int leftMargin = 10;
private int topMargin = 10;
private int Height = 40;
private int Width = 230;
private bool showHeader;
private bool showFooter = true;
private String headerText = "";
private BarCodeWeight weight = BarCodeWeight.Small;
private Font headerFont = new Font("宋体", 18);
private Font footerFont = new Font("宋体", 12);
public AlignType VertAlign
{
get { return align; }
set { align = value; }
}
public String BarCode
{
get { return code; }
set { code = value.ToUpper(); }
}
public int BarCodeHeight
{
get { return Height; }
set { Height = value; }
}
public int BarCodeWidth
{
get { return Width; }
set { Width = value; }
}
后面还有 219 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。