Share via


Windows Media Player 11 SDK Description 

Windows Media Player SDK banner art

Previous Next

Description

When you create a skin for Windows Media Player 9 Series for Windows Mobile 2003 or later, you must include a Description section. The Description section enables you to specify the width and height of the display, the display resolution, and the display orientation for which the skin was designed. The Description section must appear in the skin definition file before any other section, and just after the initial version declaration.

The Description section of the skin definition file must begin with the following line:

  

You then must add information about the dimensions of the skin and the display resolution. The following example shows how to specify dimensions:

  

This specifies that you designed the skin to be displayed 240 pixels wide, 320 pixels high, and using 96 DPI display resolution. Note that this implies a portrait mode orientation.

You may optionally specify the orientation mode for which you designed the skin in the description section. The following example shows how to specify orientation:

  

The following table lists the values you may use for Orientation.

Orientation Description
Landscape The width of the skin is greater than height of the skin. The display is oriented in a horizontal fashion.
Portrait The height of the skin is greater than the width of the skin. The display is oriented in a vertical fashion.
Square The height of the skin is equal to the width of the skin. The display has no orientation.

Note   Windows Media Player 9 Series for Windows Mobile 2003 will only display a particular skin when the description section specified in the skin definition file matches the current state of the device.

You should be careful to always specify the correct dimensions, resolution, and orientation for which your skin was authored. For example, if the dimensions specified by your skin describe a landscape orientation, your skin will not be available when the device is in portrait mode, even if you specify Portrait in the orientation line.

Requirements

Version: Windows Media Player 9  Series for Windows Mobile 2003 or later.

See Also

Previous Next