Condividi tramite


VideoScaleMode Struct

Definition

Defines values for VideoScaleMode.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Management.VideoAnalyzer.Models.VideoScaleModeConverter))]
public struct VideoScaleMode : IEquatable<Microsoft.Azure.Management.VideoAnalyzer.Models.VideoScaleMode>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Management.VideoAnalyzer.Models.VideoScaleModeConverter))>]
type VideoScaleMode = struct
Public Structure VideoScaleMode
Implements IEquatable(Of VideoScaleMode)
Inheritance
VideoScaleMode
Attributes
Newtonsoft.Json.JsonConverterAttribute
Implements

Fields

Pad

Pads the video with black horizontal stripes (letterbox) or black vertical stripes (pillar-box) so the video is resized to the specified dimensions while not altering the content aspect ratio.

PreserveAspectRatio

Preserves the same aspect ratio as the input video. If only one video dimension is provided, the second dimension is calculated based on the input video aspect ratio. When 2 dimensions are provided, the video is resized to fit the most constraining dimension, considering the input video size and aspect ratio.

Stretch

Stretches the original video so it resized to the specified dimensions.

Methods

Equals(Object)

Overrides Equals operator for VideoScaleMode

Equals(VideoScaleMode)

Compares enums of type VideoScaleMode

GetHashCode()

Returns for hashCode VideoScaleMode

ToString()

Returns string representation for VideoScaleMode

Operators

Equality(VideoScaleMode, VideoScaleMode)

Overriding == operator for enum VideoScaleMode

Implicit(String to VideoScaleMode)

Implicit operator to convert string to VideoScaleMode

Implicit(VideoScaleMode to String)

Implicit operator to convert VideoScaleMode to string

Inequality(VideoScaleMode, VideoScaleMode)

Overriding != operator for enum VideoScaleMode

Applies to