Class QRCode
public sealed class QRCode
- Inheritance
-
QRCode
- Inherited Members
Constructors
QRCode()
Initializes a new instance of the QRCode class.
public QRCode()
Fields
NUM_MASK_PATTERNS
public static int NUM_MASK_PATTERNS
Field Value
Properties
ECLevel
Gets or sets the EC level.
public ErrorCorrectionLevel ECLevel { get; set; }
Property Value
- ErrorCorrectionLevel
The EC level.
MaskPattern
Gets or sets the mask pattern.
public int MaskPattern { get; set; }
Property Value
- int
The mask pattern.
Matrix
Gets or sets the matrix.
public ByteMatrix Matrix { get; set; }
Property Value
- ByteMatrix
The matrix.
Mode
Gets or sets the mode, not relevant if QR_COMPACT is selected.
public Mode Mode { get; set; }
Property Value
- Mode
The mode.
Version
Gets or sets the version.
public Version Version { get; set; }
Property Value
- Version
The version.
Methods
ToString()
Returns a string that represents this instance.
public override string ToString()
Returns
isValidMaskPattern(int)
Check if "mask_pattern" is valid.
public static bool isValidMaskPattern(int maskPattern)
Parameters
maskPattern
intThe mask pattern.
Returns
- bool
true
if [is valid mask pattern] [the specified mask pattern]; otherwise,false
.