DisplaySize Property

Returns or sets a Long value specifying the size of the image display window.

Syntax

MediaPlayer.DisplaySize

Remarks

This property can only be set if the AllowChangeDisplaySize property is True.

Valid values for the DisplaySize property include:

Constant Value Description
mpDefaultSize 0 Same size as the source image.
mpHalfSize 1 Half the size of the source image.
mpDoubleSize 2 Double the size of the source image.
mpFullScreen 3 Size of the entire screen.
mpFitToSize 4 Size specified at design time.
mpOneSixteenthScreen 5 One-sixteenth the size of the screen.
mpOneFourthScreen 6 One quarter the size of the screen.
mpOneHalfScreen 7 Half the size of the screen.

See Also

AllowChangeDisplaySize

© 1996-1998 Microsoft Corporation. All rights reserved.