Progress® Telerik® Reporting R3 2017

BarcodeBarAlign Property

Gets or sets the horizontal alignment of the barcode in the report item.

Namespace:  Telerik.Reporting
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)

Syntax

public HorizontalAlign BarAlign { get; set; }

Property Value

Type: HorizontalAlign
One of the HorizontalAlign values. The default value is HorizontalAlign.Center.

Examples

This example illustrates how to set the BarAlign property.
var encoder = new Telerik.Reporting.Barcodes.Code128AEncoder();

// Set any specific encoder settings...
encoder.ShowText = false; // The default value is true.

this.barcode1.Encoder = encoder;
this.barcode1.Angle = 90;
this.barcode1.BarAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left;
this.barcode1.Checksum = true;
this.barcode1.Module = Telerik.Reporting.Drawing.Unit.Point(3);           
this.barcode1.Stretch = false;
this.barcode1.Value = "1234567890";

See Also