VideoProfile.ActualAspectRatio Property

Gets the actual aspect ratio of the video profile. Note that if you're using square pixels (when AutoFit equals true), the actual aspect ratio may be slightly different than the aspect ratio that is passed to the SetAspectRatio method, because the video frame dimensions are rounded to the nearest 4 or 16 pixels.

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

Syntax

'Declaration
Public ReadOnly Property ActualAspectRatio As Size
'Usage
Dim instance As VideoProfile
Dim value As Size

value = instance.ActualAspectRatio
public Size ActualAspectRatio { get; }
public:
property Size ActualAspectRatio {
    Size get ();
}

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