All docs
V21.2
21.2
21.1
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 Members

The modal dialog to take pictures from a camera device.

Constructors

Name Description
TakePictureDialog() Initializes a new instance of the TakePictureDialog class.

Properties

Name Description
Caption Gets or sets the dialog’s caption.
Device Gets or sets the camera device.
Image Gets the snapshot that a user has captured using the camera device.
ManualResolution Gets or sets a camera resolution that is applied when the TakePictureDialog.ResolutionMode property is set to Manual.
ResolutionMode Gets or sets the camera resolution mode.

Methods

Name Description
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ShowDialog() Displays the Take Picture dialog.
ShowDialog(String) Displays the Take Picture dialog with the specified caption.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
Closed Fires when the dialog is closed. Allows you to get the dialog result and captured image, and replace this image.
Showing Fires when the dialog is about to be displayed. Allows you to customize the form, and specify the camera device and resolution.
See Also