Table of Contents

Class Code39

Namespace
MiPdf.Barcodes
Assembly
MiPdf.dll

Code 39 (digits, upper-case letters and - . space $ / + %), optionally with a modulo 43 check character.

public sealed class Code39 : LinearBarcode
Inheritance
Code39
Inherited Members

Methods

Create(string, bool)

Encodes text between the start/stop characters (*). The human-readable text includes the check character, if added.

public static Code39 Create(string text, bool addCheckCharacter = false)

Parameters

text string

Text consisting only of characters of the Code 39 alphabet (lower-case letters are not allowed).

addCheckCharacter bool

Appends a modulo 43 check character.

Returns

Code39

Exceptions

ArgumentException

text contains a character that Code 39 cannot encode.