public final class Version extends Object
Modifier and Type | Method and Description |
---|---|
int |
getDataRegionSizeColumns() |
int |
getDataRegionSizeRows() |
int |
getSymbolSizeColumns() |
int |
getSymbolSizeRows() |
int |
getTotalCodewords() |
static Version |
getVersionForDimensions(int numRows,
int numColumns)
Deduces version information from Data Matrix dimensions.
|
int |
getVersionNumber() |
String |
toString() |
public int getVersionNumber()
public int getSymbolSizeRows()
public int getSymbolSizeColumns()
public int getDataRegionSizeRows()
public int getDataRegionSizeColumns()
public int getTotalCodewords()
public static Version getVersionForDimensions(int numRows, int numColumns) throws FormatException
Deduces version information from Data Matrix dimensions.
numRows
- Number of rows in modulesnumColumns
- Number of columns in modulesFormatException
- if dimensions do correspond to a valid Data Matrix sizeCopyright © 2007–2024. All rights reserved.