ActiveReports 10
Barcode Class
Members  Example 

GrapeCity.ActiveReports.v10 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace : Barcode Class
The Barcode control is used to print barcode symbology in the report.
Object Model
Barcode Class
Syntax
'Declaration
 
Public NotInheritable Class Barcode 
   Inherits ARControl
public sealed class Barcode : ARControl 
Remarks
The Barcode control can be bound to data fields or unbound.
Example
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.barcode1.Alignment = System.Drawing.StringAlignment.Center;
    this.barcode1.AutoSize = true;
    this.barcode1.BackColor = System.Drawing.Color.White;
    this.barcode1.BarHeight = 0.0f;
    this.barcode1.CaptionPosition = BarCodeCaptionPosition.Below;
    this.barcode1.CheckSumEnabled = true;
    this.barcode1.ForeColor = System.Drawing.Color.Green;
    this.barcode1.Style = BarCodeStyle.Code49;
    this.barcode1.Text = "Barcode";
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.Barcode1.Alignment = System.Drawing.StringAlignment.Center
    Me.Barcode1.AutoSize = True
    Me.Barcode1.BackColor = System.Drawing.Color.White
    Me.Barcode1.BarHeight = 0.0F
    Me.Barcode1.CaptionPosition = BarCodeCaptionPosition.Below
    Me.Barcode1.CheckSumEnabled = True
    Me.Barcode1.ForeColor = System.Drawing.Color.Green
    Me.Barcode1.Style = BarCodeStyle.Code49
    Me.Barcode1.Text = "Barcode"
End Sub
Inheritance Hierarchy

System.Object
   GrapeCity.ActiveReports.SectionReportModel.ARControl
      GrapeCity.ActiveReports.SectionReportModel.Barcode

See Also

Reference

Barcode Members
GrapeCity.ActiveReports.SectionReportModel Namespace