Skip to main content

XRBarCode.BarCodeOrientation Property

Gets or sets how a barcode should be rotated in a report.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue(BarCodeOrientation.Normal)]
[SRCategory(ReportStringId.CatBehavior)]
public BarCodeOrientation BarCodeOrientation { get; set; }

Property Value

Type Default Description
BarCodeOrientation Normal

A BarCodeOrientation enumeration value specifying the angle at which a barcode is rotated.

Available values:

Name Description
Normal

A bar code is displayed in its normal orientation.

UpsideDown

A bar code is rotated 180 degrees.

RotateLeft

A bar code is rotated 90 degrees counter clockwise.

RotateRight

A bar code is rotated 90 degrees clockwise.

Remarks

The set of possible values for this property is specified by the BarCodeOrientation enumeration. Use this property when a barcode needs to be rotated to a particular angle when it’s printed. For example, when a barcode is printed near the right or left margins of a report.

See Also