Share via


VideoProfile.AspectRatio Property

Gets or sets the aspect ratio used to encode the profile. If set to null, the aspect ratio is controlled by the width and height of the stream.

Namespace: Microsoft.Expression.Encoder.Profiles
Assembly: Microsoft.Expression.Encoder (in microsoft.expression.encoder.dll)

Syntax

'Declaration
Public Property AspectRatio As Nullable(Of Size)
'Usage
Dim instance As VideoProfile
Dim value As Nullable(Of Size)

value = instance.AspectRatio

instance.AspectRatio = value
public Nullable<Size> AspectRatio { get; set; }
public:
property Nullable<Size> AspectRatio {
    Nullable<Size> get ();
    void set (Nullable<Size> value);
}

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

VideoProfile Class
VideoProfile Members
Microsoft.Expression.Encoder.Profiles Namespace