Windows Media Player SDK banner art
PreviousNext

AmbientAttributes.width

The width attribute specifies or retrieves the width of the control.

Syntax

elementID.width

Possible Values

This attribute is a read/write Number (long) with a default value of either zero or the width of the image specified in the control’s image attribute.

Remarks

If the width specified is narrower than the width of the image provided, then the image will be clipped. If the width is wider than the width of the image, then the click region will go beyond the image boundary. No matter what value is given to this attribute, the image cannot grow beyond its parent VIEW or SUBVIEW.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.