使用实例:
private string urlPath = ""; protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { urlPath = Server.MapPath("~/file/"); barCodeInfo(); } } /// <summary> /// 图标生成 /// </summary> private void barCodeInfo() { Response.Write("<IMG alt=\"" + "" + "\" src=\"" + "file/" + BarCodeHelper.getBarCodePath("www.zhengdecai.com", "Code128B", urlPath, "zhengdecai_bar.jpg") + "\" border=\"0\">" + "<br />"); }
类库信息: