Share via


Windows Media Player 11 SDK BUTTON.imageĀ 

Windows Media Player SDK banner art

Previous Next

BUTTON.image

The image attribute specifies or retrieves the default image of the BUTTON.

Syntax

  

Possible Values

This attribute is a read/write String containing the image file name.

Remarks

The supported image formats are BMP, JPG, PNG, and GIF (including animated GIFs).

If the BUTTON image is larger than the region defined by the width and height attributes, the image will be cropped.

If the image is not specified but the height and width are, then the image directly behind this control is displayed. This can facilitate drawing the image on the VIEW itself, reducing the number of separate image files needed.

If the image cannot be retrieved, a default image (the red-x image) is displayed.

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next