|Microsoft DirectX 9.0|
The GetSourcePosition method retrieves the source rectangle.
objVideo.GetSourcePosition( ByRef Left As Long, ByRef Top As Long, ByRef Width As Long, ByRef Height As Long)
Variable that receives the source rectangle's x-coordinate, in pixels.
Variable that receives the source rectangle's y-coordinate, in pixels.
Variable that receives the width of the source rectangle, in pixels.
Variable that receives the height of the source rectangle, in pixels.
This method does not return a value.
This method has the same effect as retrieving the values of the IBasicVideo2.SourceLeft, IBasicVideo2.SourceTop, IBasicVideo2.SourceWidth, and IBasicVideo2.SourceHeight properties.