-api-id | -api-type | -api-device-family-note |
---|---|---|
P:Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings.CroppedSizeInPixels |
winrt property |
xbox |
The exact size in pixels of the captured photo.
The size of the captured photo.
Imaging cropping in the CameraCaptureUI is not supported for devices in the Mobile device family. The value of the CroppedSizeInPixels property is ignored when your app is running on these devices.
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.
microphone, webcam