BarCodeControl.Orientation Property
Gets or sets the bar code’s orientation.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v18.2.dll
Declaration
[DefaultValue(BarCodeOrientation.Normal)]
[DXCategory("Behavior")]
[SmartTagProperty("Orientation", "", SmartTagActionType.RefreshBoundsAfterExecute)]
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. |
Related GitHub Examples
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.