/// <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; }
/// <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; }