CameraCaptureUIPhotoCaptureSettings CameraCaptureUIPhotoCaptureSettings CameraCaptureUIPhotoCaptureSettings CameraCaptureUIPhotoCaptureSettings CameraCaptureUIPhotoCaptureSettings Class

Definition

Provides settings for capturing photos with CameraCaptureUI. The settings include aspect ratio, image size, format, resolution, and whether or not cropping is allowed by the user interface (UI).

public : sealed class CameraCaptureUIPhotoCaptureSettings : ICameraCaptureUIPhotoCaptureSettings
struct winrt::Windows::Media::Capture::CameraCaptureUIPhotoCaptureSettings : ICameraCaptureUIPhotoCaptureSettings
public sealed class CameraCaptureUIPhotoCaptureSettings : ICameraCaptureUIPhotoCaptureSettings
Public NotInheritable Class CameraCaptureUIPhotoCaptureSettings Implements ICameraCaptureUIPhotoCaptureSettings
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
webcam microphone

Remarks

To get an instance of this object, retrieve the PhotoSettings property.

Properties

AllowCropping AllowCropping AllowCropping AllowCropping AllowCropping

Determines whether photo cropping will be enabled in the user interface for capture a photo.

CroppedAspectRatio CroppedAspectRatio CroppedAspectRatio CroppedAspectRatio CroppedAspectRatio

The aspect ratio of the captured photo.

CroppedSizeInPixels CroppedSizeInPixels CroppedSizeInPixels CroppedSizeInPixels CroppedSizeInPixels

The exact size in pixels of the captured photo.

Format Format Format Format Format

Determines the format that captured photos will be stored in.

MaxResolution MaxResolution MaxResolution MaxResolution MaxResolution

Determines the maximum resolution the user will be able to select.