Dela via


VideoRotation Enum

Definition

Specifies the rotation of the video stream.

public enum class VideoRotation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class VideoRotation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum VideoRotation
var value = Windows.Media.Capture.VideoRotation.none
Public Enum VideoRotation
Inheritance
VideoRotation
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
microphone webcam

Fields

Name Value Description
None 0

The video stream is not rotated.

Clockwise90Degrees 1

The video stream is rotated 90 degrees clockwise.

Clockwise180Degrees 2

The video stream is rotated 180 degrees clockwise.

Clockwise270Degrees 3

The video stream is rotated 270 degrees clockwise.

Applies to