ActiveReports 9
BarWidth Property
Example 

Sets or returns the width, in inches, for the barcode's narrow bars.
Syntax
'Declaration
 
Public Property BarWidth As System.Single
public System.float BarWidth {get; set;}

Property Value

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
private void detail_Format(Object sender, System.EventArgs eArgs)
{
    this.barcode1.BarWidth = 0.0f;
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.Barcode1.BarWidth = 0.0F
End Sub
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Barcode Class
Barcode Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum