MediaCapture.SetRecordRotation(VideoRotation) Method

Definition

Rotates the recorded video.

public:
 virtual void SetRecordRotation(VideoRotation value) = SetRecordRotation;
void SetRecordRotation(VideoRotation const& 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 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