ActiveReports3 Request technical support
Style Property
See Also  Example


Gets or sets the barcode symbology used to render the barcode text.

Syntax

Visual Basic (Declaration) 
Public Property Style As BarCodeStyle
Visual Basic (Usage)Copy Code
Dim instance As Barcode
Dim value As BarCodeStyle
 
instance.Style = value
 
value = instance.Style
C# 
public BarCodeStyle Style {get; set;}

Return Value

Current barcode symbology.  Default is BarCodeStyle.Ansi39

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
   
this.barcode1.Style = BarCodeStyle.Code49;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.Barcode1.Style = BarCodeStyle.Code49
End Sub

See Also