Delen via


CameraCaptureUIPhotoCaptureSettings.AllowCropping Property

Definition

Determines whether photo cropping will be enabled in the user interface for capture a photo.

public:
 property bool AllowCropping { bool get(); void set(bool value); };
bool AllowCropping();

void AllowCropping(bool value);
public bool AllowCropping { get; set; }
var boolean = cameraCaptureUIPhotoCaptureSettings.allowCropping;
cameraCaptureUIPhotoCaptureSettings.allowCropping = boolean;
Public Property AllowCropping As Boolean

Property Value

Boolean

bool

True, if photo cropping will be enabled; otherwise, false.

Windows requirements

App capabilities
microphone webcam

Remarks

Imaging cropping in the CameraCaptureUI is not supported for devices in the Mobile device family. The value of the AllowCropping property is ignored when your app is running on these devices.

Applies to