AutoSize Property

This property returns a Boolean value indicating whether or not the player control will automatically size to the proportions of the original media.

Syntax

MediaPlayer.AutoSize

Remarks

The values for this property are:

Value Description
True The player changes size to conform to the size of the content.
False The player retains the width and height set at design time..

The default value for this property is True if no width and height parameters are set at design-time, otherwise it defaults to False. Visual Basic automatically sets the width and height of the control at design-time.

© 1996-1998 Microsoft Corporation. All rights reserved.