Table of Contents

Class EncodingOptions

Namespace
ZXing.Common
Assembly
zxing.dll

Defines an container for encoder options

public class EncodingOptions
Inheritance
EncodingOptions
Derived
Inherited Members

Constructors

EncodingOptions()

Initializes a new instance of the EncodingOptions class.

public EncodingOptions()

Properties

GS1Format

Specifies whether the data should be encoded to the GS1 standard; FNC1 character is added in front of the data

public bool GS1Format { get; set; }

Property Value

bool

Height

Specifies the height of the barcode image

public int Height { get; set; }

Property Value

int

Hints

Gets the data container for all options

[Browsable(false)]
public IDictionary<EncodeHintType, object> Hints { get; }

Property Value

IDictionary<EncodeHintType, object>

Margin

Specifies margin, in pixels, to use when generating the barcode. The meaning can vary by format; for example it controls margin before and after the barcode horizontally for most 1D formats.

public int Margin { get; set; }

Property Value

int

NoPadding

Don't add a white area around the generated barcode if the requested size is larger than then barcode.

public bool NoPadding { get; set; }

Property Value

bool

PureBarcode

Don't put the content string into the output image.

public bool PureBarcode { get; set; }

Property Value

bool

Width

Specifies the width of the barcode image

public int Width { get; set; }

Property Value

int