CameraCaptureUIPhotoCaptureSettings.AllowCropping Propriété

Définition

Détermine si le rognage de photo sera activé dans l’interface utilisateur pour capturer une 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

Valeur de propriété

Boolean

bool

True, si le rognage de photo est activé ; sinon, false.

Configuration requise pour Windows

Fonctionnalités de l’application
microphone webcam

Remarques

Le rognage d’images dans CameraCaptureUI n’est pas pris en charge pour les appareils de la famille d’appareils mobiles. La valeur de la propriété AllowCropping est ignorée quand votre application est exécutée sur ces appareils.

S’applique à