示例#1
0
 public void AddBarCode(string message, BarcodeType type, string encoding)
 {
     Barcode               = new BarCode();
     Barcode.Type          = type;
     Barcode.Message       = message;
     Barcode.Encoding      = encoding;
     Barcode.AlternateText = null;
 }
示例#2
0
 public void AddBarCode(string message, BarcodeType type, string encoding)
 {
     Barcode = new BarCode()
     {
         Type          = type,
         Message       = message,
         Encoding      = encoding,
         AlternateText = null
     };
 }
 public void AddBarCode(string message, BarcodeType type, string encoding, string altText)
 {
     Barcode = new BarCode();
     Barcode.Type = type;
     Barcode.Message = message;
     Barcode.Encoding = encoding;
     Barcode.AlternateText = altText;
 }