Share via


CameraCaptureUIVideoCaptureSettings.AllowTrimming Property

Definition

Gets or sets a value specifying whether the CameraCaptureUI provides controls that allow the user to trim a video after it has been captured.

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

void AllowTrimming(bool value);
public bool AllowTrimming { get; set; }
var boolean = cameraCaptureUIVideoCaptureSettings.allowTrimming;
cameraCaptureUIVideoCaptureSettings.allowTrimming = boolean;
Public Property AllowTrimming As Boolean

Property Value

Boolean

bool

True if the user is allowed to trim the video; otherwise, false.

Remarks

AllowTrimming is true by default.

Setting a value for MaxDurationInSeconds when AllowTrimming is set to false will result in an invalid argument exception.

Applies to