Skip to main content
All docs
V25.1
  • 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, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. 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