Share via


Windows Media Player 11 SDK VIDEO.maintainAspectRatio 

Windows Media Player SDK banner art

Previous Next

VIDEO.maintainAspectRatio

The maintainAspectRatio attribute specifies or retrieves a value indicating whether the video will maintain its aspect ratio when trying to fit within the width and height defined for the control.

Syntax

  

Possible Values

This attribute is a read/write Boolean.

Value Description
true Default. Video maintains its aspect ratio when resizing.
false Video does not maintain its aspect ratio when resizing.

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next