Table of Contents

Class Code128

Namespace
MiPdf.Barcodes
Assembly
MiPdf.dll

Code 128 (ISO/IEC 15417). Code sets A, B and C are selected automatically (digit runs are compressed). Use CreateGs1(string) for GS1-128 (EAN-128) with application identifiers.

public sealed class Code128 : LinearBarcode
Inheritance
Code128
Inherited Members

Properties

Values

The symbol values including start, check and stop symbol.

public IReadOnlyList<int> Values { get; }

Property Value

IReadOnlyList<int>

Methods

Create(string)

Encodes ASCII text (characters 0-127).

public static Code128 Create(string text)

Parameters

text string

Returns

Code128

CreateGs1(string)

Creates a GS1-128 barcode from element strings in the form "(01)09501101530003(3103)000189(10)ABC". FNC1 separators after variable-length fields are inserted automatically.

public static Code128 CreateGs1(string elementStrings)

Parameters

elementStrings string

Returns

Code128