Click or drag to resize

GcpLengthTable Methods

The GcpLengthTable type exposes the following members.

Methods
 NameDescription
Public methodGcpLength(String) Given a GS1 key, returns the length of the GS1 Company Prefix, or throws UnknownGcpLengthException. Matching is assumed to begin with the first character, so for a GTIN-14 or SSCC the initial digit must first be stripped away before calling this method.
Public methodGcpLength(String, Int32) Given a GS1 key, returns the length of the GS1 Company Prefix, or throws UnknownGcpLengthException. Matching begins with the specified start character position.
Top
See Also