共用方式為


GetVideoSize Method

 
Microsoft DirectShow 9.0

GetVideoSize Method

This component is available for use in the Microsoft Windows 2000, Windows XP, and Windows Server 2003 operating systems. It may be altered or unavailable in subsequent versions.

The GetVideoSize method retrieves the native video dimensions.

Syntax

[ oSizeRect = ] MSWebDVD.GetVideoSize();

Return Values

Returns a DVDRect object containing four read/write properties: (top left) x; (top left) y, Width, and Height. The x and y properties are set to zero and the other two properties reflect the width and height of the video rectangle as authored on the disc.