CameraCaptureUIPhotoCaptureSettings.CroppedSizeInPixels Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the exact size constraint, in pixels, when cropping the captured photo.
public:
property Size CroppedSizeInPixels { Size get(); void set(Size value); };
Size CroppedSizeInPixels();
void CroppedSizeInPixels(Size value);
public Size CroppedSizeInPixels { get; set; }
var size = cameraCaptureUIPhotoCaptureSettings.croppedSizeInPixels;
cameraCaptureUIPhotoCaptureSettings.croppedSizeInPixels = size;
Public Property CroppedSizeInPixels As Size
Property Value
The exact size constraint when cropping the captured photo.
Remarks
You must only specify a value for CroppedSizeInPixels or CroppedAspectRatio. Specifying both the size in pixels and the aspect ratio will result in an invalid argument exception. Setting CroppedAspectRatio or CroppedSizeInPixels when AllowCropping is set to false will result in an invalid argument exception.