All docs
V20.2
20.2
20.1
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.

TakePictureDialog.Device Property

Gets or sets the camera device.

Namespace: DevExpress.XtraEditors.Camera

Assembly: DevExpress.XtraEditors.v20.2.dll

Declaration

public CameraDevice Device { get; set; }
Public Property Device As CameraDevice

Property Value

Type Description
CameraDevice

The camera device.

Remarks

The Take Picture dialog saves the currently selected camera device and its resolution in the system registry when a user closes the dialog. These settings are reused the next time a user opens the dialog. If the system registry contains no information on the previously used camera device, the Take Picture dialog will use the default camera device (CameraControl.GetDefaultDevice).

You can use the TakePictureDialog.Device property to explicitly assign a specific camera device. See the CameraControl.GetDevices topic for information on how to obtain a specific camera device.

See Also