Back to Devexpress

BarCode.RotationAngle Property

officefileapi-devexpress-dot-barcodes-dot-barcode-46685ded.md

latest2.5 KB
Original Source

BarCode.RotationAngle Property

Gets or sets the number of degrees the bar code is rotated around the z-axis.

Namespace : DevExpress.BarCodes

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public float RotationAngle { get; set; }
vb
Public Property RotationAngle As Single

Property Value

TypeDescription
Single

A Single value that is the number of degrees.

|

Remarks

A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RotationAngle 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.

asp-net-web-forms-grid-display-barcode-in-column/CS/ASPxGridViewBarCode/Default.aspx.cs#L29

csharp
barCode.ForeColor = Color.Black;
barCode.RotationAngle = 0;
barCode.CodeBinaryData = Encoding.Default.GetBytes(barCode.CodeText);

asp-net-web-forms-grid-display-barcode-in-column/VB/ASPxGridViewBarCode/Default.aspx.vb#L35

vb
barCode.ForeColor = Color.Black
barCode.RotationAngle = 0
barCode.CodeBinaryData = Encoding.Default.GetBytes(barCode.CodeText)

See Also

BarCode Class

BarCode Members

DevExpress.BarCodes Namespace