Microsoft DirectX 9.0

MSVidCtl.MaintainAspectRatio

This topic applies to Windows XP only.

The MaintainAspectRatio property determines whether the Video Control maintains the aspect ratio of the source video.

Syntax

objMSVidCtl.MainAspectRatio As Boolean

Parameters

This property takes no parameters.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

Returns True if the Video Control maintains the aspect ratio of the source video, or False otherwise.

Remarks

This property is read/write. In Visual Basic, you can set this property at design time using the Properties dialog.

See Also