Windows Media Player SDK banner art
PreviousNext

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

elementID.maintainAspectRatio

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.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.