Microsoft DirectX 9.0


This topic applies to Windows XP only.

The AutoSize property determines whether the Video Control is automatically resized to display its entire contents.


objMSVidCtl.AutoSize As Boolean


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 is automatically resized, or False otherwise.


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

See Also