Skip to main content
All docs
V26.1
  • Serial Shipping Container Code (SSCC-18)

    • 2 minutes to read

    SSCC-18 is an 18-digit GS1 identification key for logistic units. The identifier includes an extension digit, GS1 company prefix, serial reference, and check digit. SSCC is encoded as a GS1-128 barcode.

    View Example

    Examples

    Configure Barcode Settings (SSCCOptions)

    Use the SSCCOptions class to configure SSCC barcode settings.

    The following code snippet creates a Serial Shipping Container Code (SSCC) barcode and specifies its settings:

    DevExpress Barcode Generator - SSCC barcode

    using DevExpress.Docs.Barcode;
    using DevExpress.Drawing;
    using System.Drawing;
    
    var sscc18Options = new SSCCOptions();
    sscc18Options.BackColor = Color.LightGray;
    sscc18Options.ShowText = false;
    sscc18Options.Padding = new Padding(5);
    sscc18Options.BorderWidth = 1;
    sscc18Options.BorderColor = Color.Blue;
    
    using var sscc18OptionsStream = new FileStream(Path.Combine(outDir, "barcode_symbology_sscc18.png"), FileMode.Create, FileAccess.Write);
    using var sscc18OptionsGenerator = new BarcodeGenerator(sscc18Options);
    sscc18OptionsGenerator.Export("12345678901234567", sscc18OptionsStream, DXImageFormat.Png);
    

    Configure Barcode Settings (Fluent API)

    Use the SSCCOptionsBuilder class to configure SSCC barcode settings with Fluent API.

    The following code snippet creates a Serial Shipping Container Code (SSCC) barcode and specifies its settings:

    DevExpress Barcode Generator - SSCC barcode

    using DevExpress.Docs.Barcode;
    using DevExpress.Drawing;
    using System.Drawing;
    
    var sSCCcode = SSCCOptionsBuilder.Create()
        .WithBackColor(Color.LightGray)
        .WithShowText(false)
        .WithPadding(5)
        .WithBorderWidth(1)
        .WithBorderColor(Color.Blue)
        .Build();
    
    var filePath = Path.GetFullPath("ssc_code.png");
    
    using var stream = new FileStream(filePath, FileMode.Create);
    using var generator = new BarcodeGenerator(sSCCcode);
    generator.Export("12345678901234567", stream, DXImageFormat.Png);
    

    Symbology-Specific Options

    This symbology has no additional options.

    See Also