ActiveReports 9
Barcode Class
Members  Example 

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

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 Members
GrapeCity.ActiveReports.SectionReportModel Namespace

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum