Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRBarCode.BarCodeOrientation Property

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.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