Windows Media Player 11 SDK AmbientAttributes.width 

Windows Media Player SDK banner art

Previous Next

AmbientAttributes.width

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

Syntax

  

Possible Values

This attribute is a read/write 16-bit Integer (0 to 32,767) representing the width of the control in pixels. The default value is 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.

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next