Table of Contents

Class Code128EncodingOptions

Namespace
ZXing.OneD
Assembly
zxing.dll

The class holds the available options for the Code128 1D Writer

public class Code128EncodingOptions : EncodingOptions
Inheritance
Code128EncodingOptions
Inherited Members

Constructors

Code128EncodingOptions()

public Code128EncodingOptions()

Properties

CompactEncoding

Specifies whether to use compact mode for Code-128 code (type {@link Boolean}, or "true" or "false" This can yield slightly smaller bar codes. This option and {@link #FORCE_CODE_SET} are mutually exclusive options.

public bool CompactEncoding { get; set; }

Property Value

bool

ForceCodeset

Forces which encoding will be used. Currently only used for Code-128 code sets (Type string). Valid values are "A", "B", "C".

public Code128EncodingOptions.Codesets ForceCodeset { get; set; }

Property Value

Code128EncodingOptions.Codesets

ForceCodesetB

if true, don't switch to codeset C for numbers

public bool ForceCodesetB { get; set; }

Property Value

bool