Microsoft DirectX 8.0

DVDRect Object

The properties of the DVDRect object enable a scripting application to specify and receive rectangle coordinates in MSWebDVD methods such as GetButtonRect, GetClipVideoRect, GetVideoSize and SetClipVideoRect.

Properties

Properties
xSets or retrieves the x position of the rectangle's upper-left corner.
ySets or retrieves the y position of the rectangle's upper-left corner.
WidthSets or retrieves the width of the rectangle, in pixels.
HeightSets or retrieves the height of the rectangle, in pixels.

Height Property

Sets or retrieves the height of the rectangle.

Syntax

[ iHeight = ] DVDRect.Height

Parts

DVDRectObject that resolves to an MSWebDVD object.
iHeightHeight, in pixels, of the rectangle.

Remarks

This property is read/write with no default value.

Width Property

Sets or retrieves the width of the rectangle.

Syntax

[ iWidth = ] DVDRect.Width

Parts

DVDRectObject that resolves to an MSWebDVD object.
iWidthWidth, in pixels, of the rectangle.

Remarks

This property is read/write with no default value.

x Property

Sets or retrieves the x position of the rectangle's upper-left corner.

Syntax

[ iXPos = ] DVDRect.x

Parts

DVDRectObject that resolves to an MSWebDVD object.
iXPosX position of the rectangle's upper-left corner.

Remarks

This property is read/write with no default value.

y Property

Sets or retrieves the y position of the rectangle's upper-left corner.

Syntax

[ iYPos = ] DVDRect.y

Parts

DVDRectObject that resolves to an MSWebDVD object.
iYPosY position of the rectangle's upper-left corner.

Remarks

This property is read/write with no default value.