Share via


Windows Media Player 11 SDK VIDEO.zoom 

Windows Media Player SDK banner art

Previous Next

VIDEO.zoom

The zoom attribute specifies the percentage by which to scale the video.

Syntax

  

Possible Values

This attribute is a read/write Number (long) ranging from 1 to the maximum size accommodated by the width and height of the Video control. It has a default value of 100.

Remarks

This attribute cannot be used in conjunction with the fullScreen attribute.

If width and height are specified, and the resulting video window is larger than the video being played, the video can be enlarged by scaling up to the maximum size accommodated by the window. If width and height are not specified, zoom is limited to values of 100 or less.

If the shrinkToFit property is false, the video will change proportion upon zooming in order to fit itself to the available space. If shrinkToFit is true, the video will shrink to fit within the most restrictive dimension, while retaining its original proportions.

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next