TErrorCorrectionLevel.forBits Method

Definition

Fors the bits.

Delphi
class function forBits(const bits: Integer): TErrorCorrectionLevel

Parameters

bits
Integer

int containing the two bits encoding a QR Code's error correction level

Returns

TErrorCorrectionLevel

ErrorCorrectionLevel representing the encoded error correction level