Click or drag to resize

Gs1ElementStringFromBarCodeCharacters Method

Overload List
 NameDescription
Public methodStatic memberFromBarCodeCharacters(String) Constructs a Gs1ElementString instance from the specified bar code representation. In the bar code representation, there are no whitespace characters, and each AI is written as its AI number followed immediately by its value. Each variable length AI except the last must be followed by a GS character (the character whose code is 29 in decimal).
Public methodStatic memberFromBarCodeCharacters(String, Char)

Constructs a Gs1ElementString instance from the specified bar code representation, using a specified separator character for variable-length AIs. In the bar code representation, there are no whitespace characters, and each AI is written as its AI number followed immediately by its value. Each variable length AI except the last must be followed by the specified separator character.

The input string may optionally contain a three-character bar code symbology identifier beginning with a right square bracket (]) character. The recognized symbology identifiers are as follows:
Symbology IdentifierComments
]E0EAN-13 having 13 digits. This is converted to a GS1 Element String containing AI 01 with the value zero padded to 14 digits.
]E4EAN-8 having 8 digits. This is converted to a GS1 Element String containing AI 01 with the value zero padded to 14 digits.
]I1ITF-14 having 14 digits. This is converted to a GS1 Element String containing AI 01.
]C1GS1-128 containing a concatenated GS1 Element String. The symbology identifier is stripped off and the remaining characters processed as described above.
]e0GS1 DataBar containing a concatenated GS1 Element String. The symbology identifier is stripped off and the remaining characters processed as described above.
]d2GS1 DataMatrix containing a concatenated GS1 Element String. The symbology identifier is stripped off and the remaining characters processed as described above.

Top
See Also