CodeGlyphX logo
CodeGlyphX

API Reference

Class

Gs1

Namespace CodeGlyphX
Assembly CodeGlyphX
Modifiers static

Helpers for building and encoding GS1 element strings (GS1-128).

Inheritance

  • Object
  • Gs1

Methods

ElementString 2 overloads
public static String ElementString(params Gs1Element[] elements) #
Returns: String

Builds a GS1 element string from an AI string like (01)09506000134352(10)ABC(17)240101. Unknown AIs are treated as variable length; use | or GroupSeparator in the input to force a separator.

Parameters

aiText System.String requiredposition: 0
ElementString(CodeGlyphX.Gs1Element[] elements) #

Builds a GS1 element string from explicit elements.

Parameters

elements CodeGlyphX.Gs1Element[] required
Encode128 2 overloads
public static Barcode1D Encode128(params Gs1Element[] elements) #
Returns: Barcode1D

Encodes a GS1-128 barcode from an AI string (parentheses format or raw element string).

Parameters

aiText System.String requiredposition: 0
Encode128(CodeGlyphX.Gs1Element[] elements) #

Encodes a GS1-128 barcode from explicit elements.

Parameters

elements CodeGlyphX.Gs1Element[] required

Fields

public const Char GroupSeparator #

ASCII Group Separator (FNC1) used between variable-length GS1 elements.

Value: