Share via


IBasicVideo2.GetDestinationPosition

Note  This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

The GetDestinationPosition method retrieves the destination rectangle.

objVideo.GetDestinationPosition(
    ByRef Left As Long, 
    ByRef Top As Long, 
    ByRef Width As Long, 
    ByRef Height As Long)

Parameters

  • Left
    Variable that receives the destination rectangle's x-coordinate, in pixels.

  • Top
    Variable that receives the destination rectangle's y-coordinate, in pixels.

  • Width
    Variable that receives the width of the destination rectangle, in pixels.

  • Height
    Variable that receives the height of the destination rectangle, in pixels.

Return Value

This method does not return a value.

Remarks

This method has the same effect as individually retrieving the IBasicVideo2.DestinationLeft, IBasicVideo2.DestinationTop, IBasicVideo2.DestinationWidth, and IBasicVideo2.DestinationHeight properties.

Requirements

Type Library

ActiveMovie control type library

DLL

Quartz.dll

See Also

IBasicVideo2 Object

IBasicVideo2.SetDestinationPosition

 

 

Send comments about this topic to Microsoft

Build date: 8/31/2010