共用方式為


IBasicVideo2.GetVideoSize

 
Microsoft DirectShow 9.0

IBasicVideo2.GetVideoSize

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

The GetVideoSize method retrieves the native video dimensions.

Syntax

  objVideo
  .GetVideoSize
    ByRef Width As Long, 
 ByRef Height As Long)

Parameters

Width

Variable that receives the width of the video image, in pixels.

Height

Variable that receives the height of the video image, in pixels.

Return Values

This method does not return a value.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also