All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

CameraControl.RotateAngle Property

Gets or sets the rotation angle of the control's output.

Namespace: DevExpress.XtraEditors.Camera

Assembly: DevExpress.XtraEditors.v20.2.dll

Declaration

[DefaultValue(RotateAngle.RotateNone)]
[DXCategory("Options")]
[Browsable(false)]
public RotateAngle RotateAngle { get; set; }
<DefaultValue(RotateAngle.RotateNone)>
<DXCategory("Options")>
<Browsable(False)>
Public Property RotateAngle As RotateAngle

Property Value

Type Default Description
DevExpress.XtraEditors.Camera.RotateAngle

RotateNone

A value that specifies the rotation angle of the control's output.

Remarks

The RotateAngle property allows you to rotate the output of the CameraControl by 90, 180 and 270 degrees.

cameraControl1.RotateAngle = DevExpress.XtraEditors.Camera.RotateAngle.Rotate90;

The rotation angle setting is stored in the CameraControl, not in the connected camera device.

The control does not reset the rotation angle when you or an end user connects the CameraControl to another camera device. Handle the CameraControl.DeviceChanged event to respond to these cases.

Handle the CameraControl.DisplayOrientationChanging event to respond to display rotation.

See Also