Skip to main content
A newer version of this page is available. .

BarCodeControl.Orientation Property

Gets or sets the bar code’s orientation.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DefaultValue(BarCodeOrientation.Normal)]
[DXCategory("Behavior")]
public BarCodeOrientation Orientation { get; set; }

Property Value

Type Default Description
BarCodeOrientation **Normal**

A BarCodeOrientation enumeration value that specifies the bar code’s orientation.

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Orientation property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also