你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Rotation 结构

定义

定义 Rotation 的值。

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Management.Media.Models.RotationConverter))]
public struct Rotation : IEquatable<Microsoft.Azure.Management.Media.Models.Rotation>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Management.Media.Models.RotationConverter))>]
type Rotation = struct
Public Structure Rotation
Implements IEquatable(Of Rotation)
继承
Rotation
属性
Newtonsoft.Json.JsonConverterAttribute
实现

字段

Auto

根据需要自动检测和旋转。

None

不要旋转视频。 如果输出格式支持,则有关旋转的任何元数据将保持不变。

Rotate0

不要旋转视频,但删除有关旋转的任何元数据。

Rotate180

顺时针旋转 180 度。

Rotate270

顺时针旋转 270 度。

Rotate90

顺时针旋转 90 度。

方法

Equals(Object)

替代 Rotation 的 Equals 运算符

Equals(Rotation)

比较 Rotation 类型的枚举

GetHashCode()

哈希代码旋转的返回

ToString()

返回 Rotation 的字符串表示形式

运算符

Equality(Rotation, Rotation)

重写 == 运算符,用于枚举旋转

Implicit(Rotation to String)

用于将 Rotation 转换为字符串的隐式运算符

Implicit(String to Rotation)

用于将字符串转换为 Rotation 的隐式运算符

Inequality(Rotation, Rotation)

重写用于枚举旋转的 != 运算符

适用于