C# Class ZXing.QrCode.Internal.Version

See ISO 18004:2006 Annex D
Mostra file Open project: cyberh0me/OTP Class Usage Examples

Public Methods

Method Description
ToString ( ) : String
getECBlocksForLevel ( ErrorCorrectionLevel ecLevel ) : ECBlocks
getProvisionalVersionForDimension ( int dimension ) : Version

Deduces version information purely from QR Code dimensions.

getVersionForNumber ( int versionNumber ) : Version

Private Methods

Method Description
Version ( int versionNumber, int alignmentPatternCenters ) : System
buildFunctionPattern ( ) : BitMatrix

See ISO 18004:2006 Annex E

buildVersions ( ) : Version[]

See ISO 18004:2006 6.5.1 Table 9

decodeVersionInformation ( int versionBits ) : Version

Method Details

ToString() public method

public ToString ( ) : String
return String

getECBlocksForLevel() public method

public getECBlocksForLevel ( ErrorCorrectionLevel ecLevel ) : ECBlocks
ecLevel ErrorCorrectionLevel
return ECBlocks

getProvisionalVersionForDimension() public static method

Deduces version information purely from QR Code dimensions.

public static getProvisionalVersionForDimension ( int dimension ) : Version
dimension int dimension in modules ///
return Version

getVersionForNumber() public static method

public static getVersionForNumber ( int versionNumber ) : Version
versionNumber int
return Version