Barcode2DPngOptions Class

Options for rendering a two-dimensional barcode as PNG.

public sealed class Barcode2DPngOptions

Constructors

NameDescription
Barcode2DPngOptions()

Barcode2DPngOptions()

Barcode2DPngOptions.cs
public Barcode2DPngOptions()

No documentation is available.

Properties

NameDescription
DarkColorGets or sets the color for dark modules. Default is Color.Black.
LightColorGets or sets the color for light modules. Default is Color.White.
ModuleSizeGets or sets the size of each module in pixels. Default is 4.
QuietZoneModulesGets or sets the number of quiet zone modules around the barcode. Default is 2, the largest minimum of the supported symbologies (PDF417).

Gets or sets the color for dark modules. Default is Color.Black.

public Color DarkColor { get; set; }

Property value

Color

Gets or sets the color for light modules. Default is Color.White.

public Color LightColor { get; set; }

Property value

Color

Gets or sets the size of each module in pixels. Default is 4.

public int ModuleSize { get; set; }

Property value

int

QuietZoneModules

Barcode2DPngOptions.cs

Gets or sets the number of quiet zone modules around the barcode. Default is 2, the largest minimum of the supported symbologies (PDF417).

public int QuietZoneModules { get; set; }

Property value

int