MediaCapture.SetRecordRotation(VideoRotation) Method

Definition

Rotates the recorded video.

public:
 virtual void SetRecordRotation(VideoRotation value) = SetRecordRotation;
void SetRecordRotation(VideoRotation value);
public void SetRecordRotation(VideoRotation value);
function setRecordRotation(value)
Public Sub SetRecordRotation (value As VideoRotation)

Parameters

value
VideoRotation

The amount by which to rotate the video.

Windows 10 requirements

App capabilities
backgroundMediaRecording microphone webcam

Remarks

For how-to guidance on handling orientation when using the camera, see Handle device orientation with MediaCapture.

Applies to