CameraCaptureUIPhotoCaptureSettings.CroppedSizeInPixels | croppedSizeInPixels property

Applies to Windows only

The exact size in pixels of the captured photo.

Syntax


public Size CroppedSizeInPixels { get; set; }

Property value

Type: Size

The size of the captured photo.

Remarks

If size is provided, the user interface for cropping photos will force the user to crop the photo to the specified size.

If a size is specified that is larger than any available resolution, then the captured photo will be scaled to a large enough size first.

Setting this property requires that the MaxResolution property is set to HighestAvailable and the AllowCropping property is set to True.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

Capabilities

webcam
microphone

See also

CameraCaptureUIPhotoCaptureSettings

 

 

Show:
© 2014 Microsoft