VideoScale Constructors
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.
Overloads
VideoScale() |
Initializes a new instance of the VideoScale class. |
VideoScale(String, String, Nullable<VideoScaleMode>) |
Initializes a new instance of the VideoScale class. |
VideoScale()
Initializes a new instance of the VideoScale class.
public VideoScale ();
Public Sub New ()
Applies to
VideoScale(String, String, Nullable<VideoScaleMode>)
Initializes a new instance of the VideoScale class.
public VideoScale (string height = default, string width = default, Microsoft.Azure.Management.VideoAnalyzer.Models.VideoScaleMode? mode = default);
new Microsoft.Azure.Management.VideoAnalyzer.Models.VideoScale : string * string * Nullable<Microsoft.Azure.Management.VideoAnalyzer.Models.VideoScaleMode> -> Microsoft.Azure.Management.VideoAnalyzer.Models.VideoScale
Public Sub New (Optional height As String = Nothing, Optional width As String = Nothing, Optional mode As Nullable(Of VideoScaleMode) = Nothing)
Parameters
- height
- String
The desired output video height.
- width
- String
The desired output video width.
- mode
- Nullable<VideoScaleMode>
Describes the video scaling mode to be applied. Default mode is 'Pad'. If the mode is 'Pad' or 'Stretch' then both width and height must be specified. Else if the mode is 'PreserveAspectRatio' then only one of width or height need be provided. Possible values include: 'Pad', 'PreserveAspectRatio', 'Stretch'
Applies to
Azure SDK for .NET