Back to Devexpress

XRBarCode.BarCodeOrientation Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrbarcode-f5a967b4.md

latest2.2 KB
Original Source

XRBarCode.BarCodeOrientation Property

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

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(BarCodeOrientation.Normal)]
[SRCategory(ReportStringId.CatBehavior)]
public BarCodeOrientation BarCodeOrientation { get; set; }
vb
<DefaultValue(BarCodeOrientation.Normal)>
<SRCategory(ReportStringId.CatBehavior)>
Public Property BarCodeOrientation As BarCodeOrientation

Property Value

TypeDefaultDescription
BarCodeOrientationNormal

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

|

Available values:

NameDescription
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

Add Bar Codes to Reports

XRBarCode Class

XRBarCode Members

DevExpress.XtraReports.UI Namespace