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.ResolutionMode Property

Gets or sets the camera resolution mode.

Namespace: DevExpress.XtraEditors.Camera

Assembly: DevExpress.XtraEditors.v20.2.dll

Declaration

public ResolutionMode ResolutionMode { get; set; }
Public Property ResolutionMode As ResolutionMode

Property Value

Type Description
ResolutionMode

The camera resolution mode.

Remarks

The Take Picture dialog saves the currently used camera device and resolution in the system registry when a user closes the dialog.

The last used resolution is applied the next time a user opens the dialog, provided that the ResolutionMode property is set to LastUsed (default value).

See the ResolutionMode topic for a list of available camera resolution options.

The following example sets the maximum resolution supported by a camera device.

TakePictureDialog dialog = new TakePictureDialog();
dialog.ResolutionMode = ResolutionMode.Maximum;
dialog.ShowDialog();
See Also