CameraCaptureUIPhotoCaptureSettings class

This topic has not yet been rated - Rate this topic

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

MarshalingBehaviorAttribute(Agile)
ThreadingAttribute(Both)
VersionAttribute(NTDDI_WIN8)

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]

Namespace

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

Metadata

Windows.winmd

Capabilities

webcam
microphone

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.