C# Class ZXing.PDF417.PDF417Common

SITA Lab ([email protected]) Guenther Grau
Mostra file Open project: Redth/ZXing.Net.Mobile

Public Properties

Property Type Description
BARS_IN_MODULE int
INVALID_CODEWORD int
MAX_CODEWORDS_IN_BARCODE int
MAX_ROWS_IN_BARCODE int
MIN_ROWS_IN_BARCODE int
MODULES_IN_CODEWORD int
MODULES_IN_STOP_PATTERN int
NUMBER_OF_CODEWORDS int
SYMBOL_TABLE int[]

Public Methods

Method Description
getCodeword ( long symbol ) : int

Translate the symbol into a codeword

toIntArray ( ICollection list ) : int[]

Converts an ICollection to an int[] Carry-over from Java. Will likely remove and replace with the Generic .ToArray() method.

Private Methods

Method Description
getBitCountSum ( int moduleBitCount ) : int

Method Details

getCodeword() public static method

Translate the symbol into a codeword
public static getCodeword ( long symbol ) : int
symbol long encoded symbol to translate to a codeword
return int

toIntArray() public static method

Converts an ICollection to an int[] Carry-over from Java. Will likely remove and replace with the Generic .ToArray() method.
public static toIntArray ( ICollection list ) : int[]
list ICollection List.
return int[]

Property Details

BARS_IN_MODULE public_oe static_oe property

public static int BARS_IN_MODULE
return int

INVALID_CODEWORD public_oe static_oe property

public static int INVALID_CODEWORD
return int

MAX_CODEWORDS_IN_BARCODE public_oe static_oe property

Maximum Codewords (Data + Error).
public static int MAX_CODEWORDS_IN_BARCODE
return int

MAX_ROWS_IN_BARCODE public_oe static_oe property

public static int MAX_ROWS_IN_BARCODE
return int

MIN_ROWS_IN_BARCODE public_oe static_oe property

public static int MIN_ROWS_IN_BARCODE
return int

MODULES_IN_CODEWORD public_oe static_oe property

One left row indication column + max 30 data columns + one right row indicator column
public static int MODULES_IN_CODEWORD
return int

MODULES_IN_STOP_PATTERN public_oe static_oe property

public static int MODULES_IN_STOP_PATTERN
return int

NUMBER_OF_CODEWORDS public_oe static_oe property

public static int NUMBER_OF_CODEWORDS
return int

SYMBOL_TABLE public_oe static_oe property

The sorted table of all possible symbols. Extracted from the PDF417 specification. The index of a symbol in this table corresponds to the index into the codeword table.
public static int[] SYMBOL_TABLE
return int[]