See Also

Barcode Class  | Barcode Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

BarWidth Property

Sets or returns the width for the barcode's narrow bars.

[Visual Basic]
Public Property BarWidth As Single
[C#]
public float BarWidth {get; set;}

Return Type

A float or Single value in inches. The default value is 0.0f.

Remarks

Setting the width to 0 expands the barcode to fit the control. The width ratio is 1 to 0.012 inches. So setting the BarWidth to 2 will have a value of 0.024 inches, while a value of 10 yields a bar width of 0.12 inches for the narrowest bars.

Example

[Visual Basic] 

Private void Detail_Format(object sender, System.EventArgs eArgs)
{
    this.Barcode1.BarWidth = 0.0f;
}

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
    Me.Barcode1.BarWidth = 0.0F
End Sub

See Also

Barcode Class  | Barcode Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.