GrapeCity.ActiveReports.v9 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > Barcode Class : Code128 Property |
'Declaration Public Property Code128 As Code128Options
public Code128Options Code128 {get; set;}
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
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