Example #1
0
 /// <summary>
 /// 生成二维码
 /// </summary>
 /// <returns></returns>
 public Bitmap Get2DBarCode()
 {
     return(BarcodeHelper.Generate1(barcode, code2d.width, code2d.height));
 }
Example #2
0
 /// <summary>
 /// 生成带图片二维码
 /// </summary>
 /// <returns></returns>
 public Bitmap GetP2DBarCode(string url)
 {
     return(BarcodeHelper.Generate3(barcode, codepd.width, codepd.height, url));
 }
Example #3
0
 /// <summary>
 /// 生成一维码
 /// </summary>
 /// <returns></returns>
 public Bitmap Get1DBarCode()
 {
     return(BarcodeHelper.Generate2(barcode, code1d.width, code1d.height));
 }