示例#1
0
 /// <summary>
 /// Sets the level of error correction employed.
 /// </summary>
 /// <param name="errorCorrectionLevel">Error correction level to be used when creating the image.</param>
 /// <remarks>
 /// See http://en.wikipedia.org/wiki/QR_code#Error_correction for details.
 /// </remarks>
 public QRCode ErrorCorrectionLevel(Helpers.QRCoder.ErrorCorrectionLevel errorCorrectionLevel)
 {
     _ErrorCorrectionLevel = errorCorrectionLevel;
     return this;
 }
示例#2
0
 /// <summary>
 /// Resets the object back to a known state.
 /// </summary>
 protected internal void Reset()
 {
     _Data = "";
     _Scale = 15;
     _EncodingType = Helpers.QRCoder.EncodingType.Alphanumeric;
     _ErrorCorrectionLevel = Helpers.QRCoder.ErrorCorrectionLevel.H;
     _Version = 3;
 }
示例#3
0
		/// <summary>
		/// Sets the level of error correction employed.
		/// </summary>
		/// <param name="errorCorrectionLevel">Error correction level to be used when creating the image.</param>
		/// <remarks>
		/// See http://en.wikipedia.org/wiki/QR_code#Error_correction for details.
		/// </remarks>
		public QRCode ErrorCorrectionLevel(Helpers.QRCoder.ErrorCorrectionLevel errorCorrectionLevel) {
			_ErrorCorrectionLevel = errorCorrectionLevel;
			return this;
		}