Share via


VideoScale Class

Definition

The video scaling information.

public class VideoScale
type VideoScale = class
Public Class VideoScale
Inheritance
VideoScale

Constructors

VideoScale()

Initializes a new instance of the VideoScale class.

VideoScale(String, String, Nullable<VideoScaleMode>)

Initializes a new instance of the VideoScale class.

Properties

Height

Gets or sets the desired output video height.

Mode

Gets or sets 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'

Width

Gets or sets the desired output video width.

Applies to