See Also

Barcode Members  | DataDynamics.ActiveReports Namespace

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Barcode Class

The Barcode control is used to print barcode symbology in the report.

For a list of all members of this type, see Barcode members.

Object Model





Inheritance Hierarchy

System.Object
   DataDynamics.ActiveReports.ARControl
      DataDynamics.ActiveReports.Barcode

Syntax

[Visual Basic]
Public NotInheritable Class Barcode    Inherits ARControl
[C#]
public sealed class Barcode : ARControl

Remarks

The Barcode control can be bound to data fields or unbound.

Example

[C#] 

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.BarWidth = 0.0f; 
    this.Barcode1.CaptionPosition = BarCodeCaptionPosition.Below; 
    this.Barcode1.CheckSumEnabled = true; 
    this.Barcode1.Direction = BarCodeDirection.RightToLeft; 
    this.Barcode1.ForeColor = System.Drawing.Color.Green; 
    this.Barcode1.Style = BarCodeStyle.Code49; 
    this.Barcode1.Text = "Barcode"; 
}

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
    Me.Barcode1.Alignment = System.Drawing.StringAlignment.Center
    Me.Barcode1.AutoSize = True
    Me.Barcode1.BackColor = System.Drawing.Color.White
    Me.Barcode1.BarWidth = 0.0F
    Me.Barcode1.CaptionPosition = BarCodeCaptionPosition.Below
    Me.Barcode1.CheckSumEnabled = True
    Me.Barcode1.Direction = BarCodeDirection.RightToLeft
    Me.Barcode1.ForeColor = System.Drawing.Color.Green
    Me.Barcode1.Style = BarCodeStyle.Code49
    Me.Barcode1.Text = "Barcode"
End Sub

See Also

Barcode Members  | DataDynamics.ActiveReports Namespace

 

 


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