BarcodePngOptions Class

Options for rendering a barcode as PNG.

public sealed class BarcodePngOptions

Constructors

NameDescription
BarcodePngOptions()

BarcodePngOptions()

BarcodePngOptions.cs
public BarcodePngOptions()

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.
ModuleHeightGets or sets the height of each module in pixels. Default is 80.
ModuleWidthGets or sets the width of each module in pixels. Default is 2.
QuietZoneModulesGets or sets the number of quiet zone modules on the left and right sides of the barcode. Default is 10.

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 height of each module in pixels. Default is 80.

public int ModuleHeight { get; set; }

Property value

int

Gets or sets the width of each module in pixels. Default is 2.

public int ModuleWidth { get; set; }

Property value

int

QuietZoneModules

BarcodePngOptions.cs

Gets or sets the number of quiet zone modules on the left and right sides of the barcode. Default is 10.

public int QuietZoneModules { get; set; }

Property value

int