Search Results for

    Show / Hide Table of Contents

    Class Code128GS1Parser

    GS1 Code128 parser that handles all GS1 Application Identifiers, validates data content, and provides comprehensive error handling. Supports multiple input formats and provides detailed parsing results.

    Inheritance
    System.Object
    Code128GS1Parser
    Namespace: IronBarCode
    Assembly: IronBarCode.dll
    Syntax
    public static class Code128GS1Parser : Object

    Methods

    ExtractElements(String)

    Extracts all GS1 elements from a string

    Declaration
    public static List<ParsedElement> ExtractElements(string input)
    Parameters
    Type Name Description
    System.String input

    The GS1 string to parse

    Returns
    Type Description
    System.Collections.Generic.List<ParsedElement>

    List of GS1 elements

    Format(String)

    Formats a GS1 string

    Declaration
    public static string Format(string value)
    Parameters
    Type Name Description
    System.String value

    The GS1 string to format

    Returns
    Type Description
    System.String

    Formatted GS1 string with parentheses

    IsValid(String)

    Validates if a string is a valid GS1 format

    Declaration
    public static bool IsValid(string input)
    Parameters
    Type Name Description
    System.String input

    The string to validate

    Returns
    Type Description
    System.Boolean

    True if valid, false otherwise

    Parse(String)

    Parses and formats a GS1 string, handling multiple input formats and providing comprehensive validation

    Declaration
    public static ParseResult Parse(string input)
    Parameters
    Type Name Description
    System.String input

    The GS1 string to parse (raw, formatted, or mixed)

    Returns
    Type Description
    ParseResult

    ParseResult containing formatted string, elements, and validation results

    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronBarcode to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronBarcode free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.