Barcode .Net Class Library

BarcodeImage.BarcodeWidth Property

Gets or sets the width of the barcode.

[Visual Basic]
Public Property BarcodeWidth As Integer

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

Property Value

The barcode width in pixels.

Remarks

Depending the value of the Orientation property, BarcodeWidth may be either the image width or height.

To set the barcode width, it's easier to specify the width of the thinnest barcode bar through the use of the BarWidth property, which is typically 1 (or 2, or more).

BarWidth is always picked up in priority. For BarcodeWidth to be effective, you need to set BarWidth to 0.

See Also

BarWidth | BarcodeHeight


© 2002 Bokai Corporation. All rights reserved.