CodeGlyphX logo
CodeGlyphX

API Reference

Class

Barcode1D

Namespace CodeGlyphX
Assembly CodeGlyphX
Modifiers sealed

A simple 1D barcode represented as an alternating sequence of bar/space segments.

Inheritance

  • Object
  • Barcode1D

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public Barcode1D(IEnumerable<BarSegment> segments) #

Creates a new Barcode1D from the provided segments.

Parameters

segments System.Collections.Generic.IEnumerable{CodeGlyphX.BarSegment} requiredposition: 0
Barcode segments in order (must contain at least one segment).

Properties

public IReadOnlyList<BarSegment> Segments { get; } #

Gets the barcode segments in order.

public Int32 TotalModules { get; } #

Gets the total barcode width in modules (sum of Modules for all segments).