Barcode .Net Class Library

BarcodeImage.BarWidth Property

Gets or sets the width of the thinnest barcode bar in pixels, effectively getting or setting the barcode width.

[Visual Basic]
Public Property BarWidth As Integer

[C#]
public int BarWidth {get; set}

Property Value

The width of the thinnest barcode bar in pixels.

Remarks

This is the simplest way of specifying the barcode width, by indicating the width of the thinnest barcode bar, which is typically 1 (or 2, etc.).

The alternative is to specify the entire barcode width directly through the BarcodeWidth property.

See Also

BarcodeWidth | BarcodeHeight


© 2002 Bokai Corporation. All rights reserved.