|Microsoft DirectX 9.0|
The GetPreferredAspectRatio method retrieves the preferred aspect ratio of the video source, if any.
objVideo.GetSourcePosition( ByRef AspectX As Long, ByRef AspectY As Long)
Variable that receives the X component of the aspect ratio.
Variable that receives the Y component of the aspect ratio.
This method does not return a value.
This method retrieves a pair of dimensionless numbers whose ratio is equal to the aspect ratio. Depending on the video source, however, the method might return zero for both values.