MediaCapture.SetPreviewRotation(VideoRotation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Rotates the video preview stream.
public:
virtual void SetPreviewRotation(VideoRotation value) = SetPreviewRotation;
void SetPreviewRotation(VideoRotation const& value);
public void SetPreviewRotation(VideoRotation value);
function setPreviewRotation(value)
Public Sub SetPreviewRotation (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.