CameraCaptureUIPhotoCaptureSettings class

Applies to Windows only

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

Syntax


/* For information about creating or accessing this object, see Remarks. */

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]

Members

The CameraCaptureUIPhotoCaptureSettings class has these types of members:

Methods

The CameraCaptureUIPhotoCaptureSettings class inherits methods from the Object class (C#/VB/C++).

Properties

The CameraCaptureUIPhotoCaptureSettings class has these properties.

PropertyAccess typeDescription

AllowCropping

Read/writeDetermines whether photo cropping will be enabled in the user interface for capture a photo.

CroppedAspectRatio

Read/writeThe aspect ratio of the captured photo.

CroppedSizeInPixels

Read/writeThe exact size in pixels of the captured photo.

Format

Read/writeDetermines the format that captured photos will be stored in.

MaxResolution

Read/writeDetermines the maximum resolution the user will be able to select.

 

Remarks

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

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.Media.Capture
Windows::Media::Capture [C++]

Metadata

Windows.winmd

Capabilities

webcam
microphone

 

 

Show:
© 2014 Microsoft