VideoProfile.SetAspectRatio Method
Sets the aspect ratio used to encode the profile.
Namespace: Microsoft.Expression.Encoder.Profiles
Assembly: Microsoft.Expression.Encoder (in microsoft.expression.encoder.dll)
Syntax
'Declaration
Public Sub SetAspectRatio ( _
aspectRatio As Double _
)
'Usage
Dim instance As VideoProfile
Dim aspectRatio As Double
instance.SetAspectRatio(aspectRatio)
public void SetAspectRatio (
double aspectRatio
)
public:
void SetAspectRatio (
double aspectRatio
)
Parameters
aspectRatio
The aspect ratio to set.
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.
See Also
Reference
VideoProfile Class
VideoProfile Members
Microsoft.Expression.Encoder.Profiles Namespace