BarcodeSvgOptions Class

Options for rendering a barcode as SVG.

public sealed class BarcodeSvgOptions

Constructors

NameDescription
BarcodeSvgOptions()

BarcodeSvgOptions()

BarcodeSvgOptions.cs
public BarcodeSvgOptions()

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 SVG units. Default is 80.
ModuleWidthGets or sets the width of each module in SVG units. 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 SVG units. Default is 80.

public int ModuleHeight { get; set; }

Property value

int

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

public int ModuleWidth { get; set; }

Property value

int

QuietZoneModules

BarcodeSvgOptions.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