ActiveReports 13
Code128 Property
Example 

GrapeCity.ActiveReports Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > Barcode Class : Code128 Property
Gets or sets the Code128Options for the barcode control.
Syntax
'Declaration
 
Public Property Code128 As GrapeCity.ActiveReports.BarCodes.Code128Options
public GrapeCity.ActiveReports.BarCodes.Code128Options Code128 {get; set;}
Example
To insert FNC1 character, set “\n” for C#, or “vbLf” for VB to Text property at runtime.
private void detail_Format(object sender, EventArgs e)
{
    this.barcode1.Style = BarCodeStyle.EAN128FNC1;
    // "\n" is encoded as FNC1 character and displayed none in caption.
    this.barcode1.Text = "12\n3456\n78";
    this.barcode1.Code128.Dpi = 300;
    this.barcode1.Code128.BarAdjust = +1;
    this.barcode1.Code128.ModuleSize = 2;
}
Private Sub Detail1_Format(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.Barcode1.Style = BarCodeStyle.EAN128FNC1
    ' vbLf is encoded as FNC1 character and displayed none in caption.
    Me.Barcode1.Text="12” & vbLf & "3456" & vbLf &"78"
    Me.Barcode1.Code128.Dpi = 300
    Me.Barcode1.Code128.BarAdjust = +1
    Me.Barcode1.Code128.ModuleSize = 2
End Sub
See Also

Reference

Barcode Class
Barcode Members